summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2014-03-17 20:34:52 +0100
committerBastien Guerry <bzg@altern.org>2014-03-18 16:25:35 +0100
commit3a1a72f2f5582d01330d68675ade4612fe948a49 (patch)
tree69c685cee1ffd985aa5ec0f6ef1be844ae01e274
parent922135a4a662b7a512edea71614a39428c6b2249 (diff)
downloadorg-mode-3a1a72f2f5582d01330d68675ade4612fe948a49.tar.gz
org-timer.el: Silent compiler warnings
-rw-r--r--lisp/org-timer.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-timer.el b/lisp/org-timer.el
index 3f52260..1a86ffa 100644
--- a/lisp/org-timer.el
+++ b/lisp/org-timer.el
@@ -156,6 +156,7 @@ With prefix arg STOP, stop it entirely."
(org-timer-set-mode-line 'pause)
(message "Timer paused at %s" (org-timer-value-string)))))
+(defvar org-timer-current-timer nil)
(defun org-timer-stop ()
"Stop the relative timer."
(interactive)
@@ -345,7 +346,6 @@ VALUE can be `on', `off', or `pause'."
(concat " <" (substring (org-timer-value-string) 0 -1) ">"))
(force-mode-line-update)))
-(defvar org-timer-current-timer nil)
(defun org-timer-cancel-timer ()
"Cancel the current timer."
(interactive)