Fix `org-at-property-p'
* lisp/org.el (org-at-property-p): Return nil when at the beginning of the properties drawer.
This commit is contained in:
parent
94c7619579
commit
b4f9ee4eba
|
@ -15542,7 +15542,9 @@ See `org-property-re' for match data, if applicable."
|
|||
(beginning-of-line)
|
||||
(and (looking-at org-property-re)
|
||||
(let ((property-drawer (save-match-data (org-get-property-block))))
|
||||
(and property-drawer (< (point) (cdr property-drawer)))))))
|
||||
(and property-drawer
|
||||
(> (point) (car property-drawer))
|
||||
(< (point) (cdr property-drawer)))))))
|
||||
|
||||
(defun org-property-action ()
|
||||
"Do an action on properties."
|
||||
|
|
Loading…
Reference in New Issue