Browse Source

Merge branch 'maint'

Nicolas Goaziou 4 years ago
parent
commit
c07808af14
1 changed files with 1 additions and 1 deletions
  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.