lisp/org.el (org-property-drawer-re): Fix regexp

`org-property-re' demands whitespace after property name when the
value is present.  Do the same for property drawer detection.
This commit is contained in:
Ihor Radchenko 2023-12-07 14:16:41 +01:00
parent ac9acb2113
commit 6003637a4d
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 1 deletions

View File

@ -626,7 +626,7 @@ Group 1 contains drawer's name or \"END\".")
;; Drawer begin line.
bol (0+ (in " \t")) ":PROPERTIES:" (0+ (in " \t")) "\n"
;; Node properties.
(*? (0+ (in " \t")) ":" (+ (not (in " \t\n:"))) ":" (* nonl) "\n")
(*? (0+ (in " \t")) ":" (+ (not (in " \t\n"))) ":" (opt (1+ (in " \t")) (* nonl)) "\n")
;; Drawer end line.
(0+ (in " \t")) ":END:" (0+ (in " \t")) eol)
"Matches an entire property drawer.")