org-element: Fix af9c0fbf91

* lisp/org-element.el (org-element-at-point): Fix commit
  af9c0fbf91.
This commit is contained in:
Nicolas Goaziou 2013-09-11 18:23:16 +02:00
parent 7b4d8bb614
commit 29c33591a2
1 changed files with 1 additions and 0 deletions

View File

@ -4740,6 +4740,7 @@ first element of current section."
;; belongs to the headline.
(throw 'exit
(progn (skip-chars-backward " \r\t\n")
(beginning-of-line)
(if (not keep-trail)
(org-element-headline-parser (point-max) t)
(list (org-element-headline-parser