Преглед на файлове

Merge branch 'maint' into master

Nicolas Goaziou преди 4 години
родител
ревизия
10f4902030
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  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)
 				    (org-element-property :post-affiliated
 							  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))))
 	    (org-cycle-internal-local))
 	   ;; From there: TAB emulation and template completion.