diff options
author | yonirabkin <yonirabkin> | 2005-12-03 19:47:00 +0000 |
---|---|---|
committer | yonirabkin <mwolson@gnu.org> | 2005-12-03 19:47:00 +0000 |
commit | 909f28d8fda2c467be867a3a3942d4bb72ed516a (patch) | |
tree | b49f18151c52296fc1cd9adbb2a7ecb862e43c94 | |
parent | 8f9741378df9aadcb27151f05a84ffe9c7895088 (diff) |
fix mode-alter bug
darcs-hash:20051203194736-be80e-90831954d25cd6d0608343e5be7317c8bc467683.gz
-rw-r--r-- | emms-mode-line.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emms-mode-line.el b/emms-mode-line.el index 8e65128..f865de4 100644 --- a/emms-mode-line.el +++ b/emms-mode-line.el @@ -102,7 +102,8 @@ Optional TRACK is used to be compatible with (defun emms-mode-line-alter-mode-line () "Update the mode-line with song info." - (when emms-mode-line-mode-line-function + (when (and emms-mode-line-mode-line-function + emms-player-playing-p) (setq emms-mode-line-string (funcall emms-mode-line-mode-line-function)) (force-mode-line-update))) |