Browse Source

org-timer.el: Silent compiler warnings

Bastien Guerry 11 years ago
parent
commit
3a1a72f2f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-timer.el

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