Browse Source

Bug fixed related to lognotedone keyword.

In response to a report by Bernt Hansen.
Carsten Dominik 17 years ago
parent
commit
93b4787cb2
3 changed files with 4 additions and 5 deletions
  1. 1 1
      TODO
  2. 2 3
      org.el
  3. 1 1
      org.texi

+ 1 - 1
TODO

@@ -1,6 +1,6 @@
           -*- mode:org -*-
 
-
+Radio links accross files?  Like in Pony?  Or HOWM.
 
 Ideas for time estimates:
 

+ 2 - 3
org.el

@@ -14594,8 +14594,7 @@ For calling through lisp, arg is also interpreted in the following way:
 	  (when (and now-done-p org-log-done)
 	    ;; It is now done, and it was not done before
 	    (org-add-planning-info 'closed (org-current-time))
-	    (if (and (not dolog) (listp org-log-done)
-		     (member 'done org-log-done))
+	    (if (and (not dolog) (eq 'note org-log-done))
 		(org-add-log-maybe 'done state 'findpos 'note)))
 	  (when (and state dolog)
 	    ;; This is a non-nil state, and we need to log it
@@ -24731,7 +24730,7 @@ Does include HTML export options as well as TODO and CATEGORY stuff."
    (if org-hide-leading-stars "hidestars" "showstars")
    (if org-startup-align-all-tables "align" "noalign")
    (cond ((eq org-log-done t) "logdone")
-	 ((equal org-log-done '(done)) "lognotedone")
+	 ((equal org-log-done 'note) "lognotedone")
 	 ((not org-log-done) "nologdone"))
    (or (mapconcat (lambda (x)
 		    (cond

+ 1 - 1
org.texi

@@ -5301,7 +5301,7 @@ not remove the previously used indirect buffer.
 @kindex l
 @item l
 Toggle Logbook mode.  In Logbook mode, entries that where marked DONE while
-logging was on (variable @code{org-log-progress}) are shown in the agenda,
+logging was on (variable @code{org-log-done}) are shown in the agenda,
 as are entries that have been clocked on that day.
 
 @tsubheading{Change display}