org-timer.el: Silent compiler warnings
This commit is contained in:
parent
17ecfd4130
commit
2202826e5e
|
@ -156,6 +156,7 @@ With prefix arg STOP, stop it entirely."
|
||||||
(org-timer-set-mode-line 'pause)
|
(org-timer-set-mode-line 'pause)
|
||||||
(message "Timer paused at %s" (org-timer-value-string)))))
|
(message "Timer paused at %s" (org-timer-value-string)))))
|
||||||
|
|
||||||
|
(defvar org-timer-current-timer nil)
|
||||||
(defun org-timer-stop ()
|
(defun org-timer-stop ()
|
||||||
"Stop the relative timer."
|
"Stop the relative timer."
|
||||||
(interactive)
|
(interactive)
|
||||||
|
@ -347,7 +348,6 @@ VALUE can be `on', `off', or `pause'."
|
||||||
(concat " <" (substring (org-timer-value-string) 0 -1) ">"))
|
(concat " <" (substring (org-timer-value-string) 0 -1) ">"))
|
||||||
(force-mode-line-update)))
|
(force-mode-line-update)))
|
||||||
|
|
||||||
(defvar org-timer-current-timer nil)
|
|
||||||
(defun org-timer-cancel-timer ()
|
(defun org-timer-cancel-timer ()
|
||||||
"Cancel the current timer."
|
"Cancel the current timer."
|
||||||
(interactive)
|
(interactive)
|
||||||
|
|
Loading…
Reference in New Issue