From dda453eb7e4c7d67c22f1dd0dba3302b8db391cb Mon Sep 17 00:00:00 2001 From: Erik Hetzner Date: Sat, 27 Oct 2012 09:37:54 +0200 Subject: [PATCH] org.el (org-log-into-drawer): Honor the nil value for the :LOG_INTO_DRAWER: property. * org.el (org-log-into-drawer): Honor the nil value for the :LOG_INTO_DRAWER: property. TINYCHANGE --- lisp/org.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 45dbe2754..caa9d40ef 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -2498,9 +2498,10 @@ a subtree." "Return the value of `org-log-into-drawer', but let properties overrule. If the current entry has or inherits a LOG_INTO_DRAWER property, it will be used instead of the default value." - (let ((p (org-entry-get nil "LOG_INTO_DRAWER" 'inherit))) + (let ((p (org-entry-get nil "LOG_INTO_DRAWER" 'inherit t))) (cond - ((or (not p) (equal p "nil")) org-log-into-drawer) + ((not p) org-log-into-drawer) + ((equal p "nil") nil) ((equal p "t") "LOGBOOK") (t p))))