org-element: Fix af9c0fbf91
* lisp/org-element.el (org-element-at-point): Fix commit
af9c0fbf91
.
This commit is contained in:
parent
7b4d8bb614
commit
29c33591a2
|
@ -4740,6 +4740,7 @@ first element of current section."
|
||||||
;; belongs to the headline.
|
;; belongs to the headline.
|
||||||
(throw 'exit
|
(throw 'exit
|
||||||
(progn (skip-chars-backward " \r\t\n")
|
(progn (skip-chars-backward " \r\t\n")
|
||||||
|
(beginning-of-line)
|
||||||
(if (not keep-trail)
|
(if (not keep-trail)
|
||||||
(org-element-headline-parser (point-max) t)
|
(org-element-headline-parser (point-max) t)
|
||||||
(list (org-element-headline-parser
|
(list (org-element-headline-parser
|
||||||
|
|
Loading…
Reference in New Issue