浏览代码

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 年之前
父节点
当前提交
a632873ad9
共有 1 个文件被更改,包括 5 次插入1 次删除
  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