Browse Source

Merge branch 'maint'

Nicolas Goaziou 11 years ago
parent
commit
a1f9a1514a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lisp/org-element.el

+ 1 - 0
lisp/org-element.el

@@ -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