Browse Source

Mention the new contextual property set for attachment links

* lisp/org-element.el (org-element-link-parser): Mention
  :attachment-path in docstring.
Gustav Wikström 5 years ago
parent
commit
a632873ad9
1 changed files with 5 additions and 1 deletions
  1. 5 1
      lisp/org-element.el

+ 5 - 1
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