summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustav Wikström <gustav@whil.se>2020-01-18 01:56:27 +0100
committerGustav Wikström <gustav@whil.se>2020-01-18 01:56:27 +0100
commita632873ad914ef9e1da8591201652b0d76e480dd (patch)
treeb6809537c2b8004ab954747aa9e5ec99cd3114da
parent52fafd300533d924e4159c05c2b81df6e5676d52 (diff)
downloadorg-mode-a632873ad914ef9e1da8591201652b0d76e480dd.tar.gz
Mention the new contextual property set for attachment links
* lisp/org-element.el (org-element-link-parser): Mention :attachment-path in docstring.
-rw-r--r--lisp/org-element.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/org-element.el b/lisp/org-element.el
index 94c215c..9a62c5b 100644
--- a/lisp/org-element.el
+++ b/lisp/org-element.el
@@ -3116,7 +3116,11 @@ When at a link, return a list whose car is `link' and cdr a plist
with `:type', `:path', `:format', `:raw-link', `:application',
`:search-option', `:begin', `:end', `:contents-begin',
`:contents-end' and `:post-blank' as keywords. Otherwise, return
-nil.
+nil. Additionally, in the context of attachment links one
+further property, `:attachment-path' is set. That property
+contains the attachment link expanded into a full filesystem
+path.
+
Assume point is at the beginning of the link."
(catch 'no-object