Nicolas Goaziou преди 12 години
родител
ревизия
a1f9a1514a
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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