diff options
author | Thanos Apollo <[email protected]> | 2024-12-05 18:15:45 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-12-05 18:15:45 +0200 |
commit | c1234ac1ebc4614021c4813eff6e0485faafcd68 (patch) | |
tree | 92c1084abae1883b4cb24eb48de57fc64a6adfa3 /org-gnosis.el | |
parent | b484e01a5bdab2bfb79b367e0b1087bafdf2b840 (diff) |
get-links: Get all links for contents
* Remove restrictions for retrieval of links only from headlines.
Diffstat (limited to 'org-gnosis.el')
-rw-r--r-- | org-gnosis.el | 3 |
1 files changed, 1 insertions, 2 deletions
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." |