Explorar o código

Merge branch 'maint'

Nicolas Goaziou %!s(int64=4) %!d(string=hai) anos
pai
achega
c07808af14
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lisp/org-element.el

+ 1 - 1
lisp/org-element.el

@@ -3971,7 +3971,7 @@ element it has to parse."
 		       (cond
 			;; Must end with a full rule.
 			((not (re-search-forward non-table.el-line limit 'move))
-			 (beginning-of-line)
+			 (if (bolp) (forward-line -1) (beginning-of-line))
 			 (looking-at rule-regexp))
 			;; Ignore pseudo-tables with a single
 			;; rule.