aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/emms-playing-time.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emms-playing-time.el b/lisp/emms-playing-time.el
index 8194925..54a7f12 100644
--- a/lisp/emms-playing-time.el
+++ b/lisp/emms-playing-time.el
@@ -165,7 +165,7 @@ could call `emms-playing-time-enable-display' and
(defun emms-playing-time-display ()
"Display playing time on the mode line."
- (setq emms-playing-time (1+ emms-playing-time))
+ (setq emms-playing-time (round (1+ emms-playing-time)))
(setq emms-playing-time-string "")
(when emms-playing-time-display-p
(let* ((min (/ emms-playing-time 60))