aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwilliam.xwl <william.xwl>2005-10-05 05:37:00 +0000
committerwilliam.xwl <mwolson@gnu.org>2005-10-05 05:37:00 +0000
commitc3312693608064f399eea3e4fba5fc45834bf0be (patch)
tree4e80c92916995920100e524917dcdf2d902e4312
parent6e0e5a6961e8d0454664e832d69dabf3a9917549 (diff)
emms-mode-line.el: Made `emms-mode-line-alter' be compatible with
`emms-track-updated-functions'. darcs-hash:20051005053723-e8fe6-af820eb0ae971b9f47fd829ad3db9fdc2af5384d.gz
-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))