aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms-mode-line.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/emms-mode-line.el b/emms-mode-line.el
index e4c201f..8e65128 100644
--- a/emms-mode-line.el
+++ b/emms-mode-line.el
@@ -92,8 +92,11 @@
(emms-mode-line-restore-titlebar)
(emms-mode-line-restore-mode-line)))
-(defun emms-mode-line-alter ()
- "Alter mode-line/titlebar."
+(defun emms-mode-line-alter (&optional track)
+ "Alter mode-line/titlebar.
+
+Optional TRACK is used to be compatible with
+`emms-track-updated-functions'. It's simply ignored currently."
(emms-mode-line-alter-mode-line)
(emms-mode-line-alter-titlebar))