aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2021-08-24 21:43:24 +1000
committerYuchen Pei <hi@ypei.me>2021-08-24 21:43:24 +1000
commitbbe2a14bed9716e6a6e16c281c85b305bd247cff (patch)
tree0ed0914faef046facd4dd47312106e6cf962c166
parent7ef8a24cfa2138348d8cfa512f7dfe14099ad9d0 (diff)
Removing an infinite loop enabling emms-playing-time-display-mode.
-rw-r--r--emms-playing-time.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/emms-playing-time.el b/emms-playing-time.el
index c52d13a..e2a02fb 100644
--- a/emms-playing-time.el
+++ b/emms-playing-time.el
@@ -161,11 +161,7 @@ could call `emms-playing-time-enable-display' and
;;;###autoload
(define-minor-mode emms-playing-time-display-mode
"Minor mode to display playing time on mode line."
- :global t
- ;; When disabling the mode, don't disable `emms-playing-time-display-mode'
- ;; since that may be used by other packages.
- (if emms-playing-time-display-mode
- (emms-playing-time-display-mode 1)))
+ :global t)
;;;###autoload
(defun emms-playing-time-enable-display ()