Переглянути джерело

Fix wrong usage of`org-adapt-indentation'

* org.el (org-store-log-note): Fix wrong usage
of`org-adapt-indentation'.
David Maus 15 роки тому
батько
коміт
73b8674e72
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -11872,7 +11872,7 @@ EXTRA is additional text that will be inserted into the notes buffer."
 			(skip-chars-backward " \r\t\n")
 			(cond
 			 ((and (org-at-heading-p)
-			       (org-adapt-indentation))
+			       org-adapt-indentation)
 			  (1+ (org-current-level)))
 			 ((org-at-heading-p) 0)
 			 (t (org-get-indentation))))))