From c1234ac1ebc4614021c4813eff6e0485faafcd68 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 5 Dec 2024 18:15:45 +0200 Subject: get-links: Get all links for contents * Remove restrictions for retrieval of links only from headlines. --- org-gnosis.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'org-gnosis.el') diff --git a/org-gnosis.el b/org-gnosis.el index 29a578c..6d5e5eb 100644 --- a/org-gnosis.el +++ b/org-gnosis.el @@ -111,8 +111,7 @@ Optional argument FLATTEN, when non-nil, flattens the result." (org-element-map contents 'link (lambda (link) (when (string-equal "id" (org-element-property :type link)) - (org-element-property :path link))) - nil nil 'headline)) + (org-element-property :path link))))) (defun org-gnosis-process-node (node) "Process a single headline NODE and return information as a list." -- cgit v1.2.3