Browse Source

Merge branch 'maint' into master

Nicolas Goaziou 4 years ago
parent
commit
10f4902030
1 changed files with 1 additions and 2 deletions
  1. 1 2
      lisp/org.el

+ 1 - 2
lisp/org.el

@@ -6352,8 +6352,7 @@ Use `\\[org-edit-special]' to edit table.el tables"))
 				 (= (line-beginning-position)
 				 (= (line-beginning-position)
 				    (org-element-property :post-affiliated
 				    (org-element-property :post-affiliated
 							  item)))))
 							  item)))))
-		     (save-excursion (beginning-of-line 1)
-				     (looking-at org-outline-regexp)))
+		     (org-match-line org-outline-regexp))
 		 (or (bolp) (not (eq org-cycle-emulate-tab 'exc-hl-bol))))
 		 (or (bolp) (not (eq org-cycle-emulate-tab 'exc-hl-bol))))
 	    (org-cycle-internal-local))
 	    (org-cycle-internal-local))
 	   ;; From there: TAB emulation and template completion.
 	   ;; From there: TAB emulation and template completion.