浏览代码

org-element: Fix docstring

* lisp/org-element.el (org-element-at-point): Remove :parent from the
list of always available properties.  This is not true for,
e.g. headlines.

Reported-by: Ihor Radchenko <yantar92@gmail.com>
Nicolas Goaziou 5 年之前
父节点
当前提交
362cb3cd5d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/org-element.el

+ 1 - 1
lisp/org-element.el

@@ -5810,7 +5810,7 @@ element.
 
 Possible types are defined in `org-element-all-elements'.
 Properties depend on element or object type, but always include
-`:begin', `:end', `:parent' and `:post-blank' properties.
+`:begin', `:end', and `:post-blank' properties.
 
 As a special case, if point is at the very beginning of the first
 item in a list or sub-list, returned element will be that list