Bastien Guerry 11 роки тому
батько
коміт
d16477913d
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -14539,7 +14539,7 @@ the column by ignoring invisible text."
 	    (goto-char (match-beginning 0))
 	    (setq c0 (current-column)
 		  ;; compute offset for the case of org-indent-mode active
-		  di (if org-indent-mode
+		  di (if (org-bound-and-true-p org-indent-mode)
 			 (* (1- org-indent-indentation-per-level) (1- level))
 		       0)
 		  p0 (if (equal (char-before) ?*) (1+ (point)) (point))