Browse Source

Fix wrong usage of`org-adapt-indentation'

* org.el (org-store-log-note): Fix wrong usage
of`org-adapt-indentation'.
David Maus 14 years ago
parent
commit
73b8674e72
1 changed files with 1 additions and 1 deletions
  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))))))