summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2015-02-28 00:43:37 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2015-02-28 00:43:37 +0100
commit18685d98527e0479b8108cac420b23d481fd5bfd (patch)
tree0eadd42de006a0e045ffa6c0a92dc8aa162a08ca
parente5a363e5fe92d017dab8f67cea015717415777a8 (diff)
downloadorg-mode-18685d98527e0479b8108cac420b23d481fd5bfd.tar.gz
org-clock: Fix ignored integer values for `org-clock-into-drawer'
* lisp/org-clock.el (org-clock-into-drawer): Fix ignored integer values. Reported-by: Rainer Stengele <rainer.stengele@online.de> <http://permalink.gmane.org/gmane.emacs.orgmode/95504>
-rw-r--r--lisp/org-clock.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 07f02b0..7982e79 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -87,6 +87,7 @@ Return value is either a string, an integer, or nil."
((org-string-nw-p p)
(if (org-string-match-p "\\`[0-9]+\\'" p) (string-to-number p) p))
((org-string-nw-p org-clock-into-drawer))
+ ((integerp org-clock-into-drawer) org-clock-into-drawer)
((not org-clock-into-drawer) nil)
((org-log-into-drawer))
(t "LOGBOOK"))))