[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emms-patches] [COMMIT] (emms-playing-time-display): Gurantee emms-playi
From: |
William Xu |
Subject: |
[Emms-patches] [COMMIT] (emms-playing-time-display): Gurantee emms-playing-time to be an integer. |
Date: |
Sun, 22 Nov 2009 21:38:22 +0800 |
---
lisp/emms-playing-time.el | 2 +-
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))
--
debian.1.5.6.1.19.ge6b2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emms-patches] [COMMIT] (emms-playing-time-display): Gurantee emms-playing-time to be an integer.,
William Xu <=