Backport commit 58102466e from Emacs

* lisp/org-element.el (org-element-headline-parser):
Pretty sure this one should be `skip-chars-backward`, not
`skip-syntax-backward`, since \t isn't a valid syntax code.

org-element: use correct function
58102466e32d4dd9c7d816cdc3f4595a2145f332
Mattias Engdegård
Thu Sep 30 17:16:25 2021 +0200
This commit is contained in:
Mattias Engdegård 2021-09-30 17:10:41 +02:00 committed by Kyle Meyer
parent 7325cf186a
commit c763b9ae61

View file

@ -1024,7 +1024,7 @@ Assume point is at beginning of the headline."
(title-start (prog1 (point)
(unless (or todo priority commentedp)
;; Headline like "* :tag:"
(skip-syntax-backward " \t"))))
(skip-chars-backward " \t"))))
(tags (when (re-search-forward
"[ \t]+\\(:[[:alnum:]_@#%:]+:\\)[ \t]*$"
(line-end-position)