branch: externals/org-gnosis
commit c1234ac1ebc4614021c4813eff6e0485faafcd68
Author: Thanos Apollo <pub...@thanosapollo.org>
Commit: Thanos Apollo <pub...@thanosapollo.org>

    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(-)

diff --git a/org-gnosis.el b/org-gnosis.el
index 29a578c381..6d5e5ebb5b 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."

Reply via email to