Pārlūkot izejas kodu

Fix indentation issue with planning line

Reported by Matt Lundin
Carsten Dominik 16 gadi atpakaļ
vecāks
revīzija
d5821a91ba
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      lisp/org.el

+ 1 - 0
lisp/org.el

@@ -10269,6 +10269,7 @@ be removed."
 		(skip-chars-backward " ")
 		(if (looking-at " +") (replace-match ""))))
 	    (goto-char (point-max))
+	    (and org-adapt-indentation (bolp) (org-indent-to-column col))
 	    (when what
 	      (insert
 	       (if (not (or (bolp) (eq (char-before) ?\ ))) " " "")