forked from mirrors/org-mode
org-timer.el (org-timer-value-string): Always return a positive value
* org-timer.el (org-timer-value-string): Always return a positive value. Add docstring.
This commit is contained in:
parent
942a95cd59
commit
7e5965372d
|
@ -186,7 +186,10 @@ it in the buffer."
|
|||
(insert (org-timer-value-string))))
|
||||
|
||||
(defun org-timer-value-string ()
|
||||
(format org-timer-format (org-timer-secs-to-hms (floor (org-timer-seconds)))))
|
||||
"Set the timer string."
|
||||
(format org-timer-format
|
||||
(org-timer-secs-to-hms
|
||||
(abs (floor (org-timer-seconds))))))
|
||||
|
||||
(defvar org-timer-timer-is-countdown nil)
|
||||
(defun org-timer-seconds ()
|
||||
|
|
Loading…
Reference in a new issue