瀏覽代碼

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))))))