Przeglądaj źródła

Merge branch 'maint'

Nicolas Goaziou 11 lat temu
rodzic
commit
c1581d0ab4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lisp/org-element.el

+ 1 - 1
lisp/org-element.el

@@ -4735,7 +4735,7 @@ first element of current section."
 	    (org-back-to-heading)
 	    (forward-line)
 	    (org-skip-whitespace)
-	    (when (> (line-beginning-position) origin)
+	    (when (or (eobp) (> (line-beginning-position) origin))
 	      ;; In blank lines just after the headline, point still
 	      ;; belongs to the headline.
 	      (throw 'exit