aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlucas <lucas>2005-09-12 11:44:00 +0000
committerlucas <mwolson@gnu.org>2005-09-12 11:44:00 +0000
commitbd397bd12c8832b0a91c7fb224ede7620f683999 (patch)
tree6257dc02afb623914e0c46a826d7bb848e49cfed
parentc1308f0e1322af1cc1677b8487271700b2ae91c8 (diff)
Fixed emms-mode-line-icon and -playing-time
darcs-hash:20050912114449-4f952-7673b38ea57a6c34a59500c0ae1769a98fb28c9f.gz
-rw-r--r--emms-mode-line-icon.el2
-rw-r--r--emms-playing-time.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/emms-mode-line-icon.el b/emms-mode-line-icon.el
index 28bdc12..332a609 100644
--- a/emms-mode-line-icon.el
+++ b/emms-mode-line-icon.el
@@ -66,7 +66,7 @@ static char *note[] = {
emms-mode-line-icon-before-format
(propertize "NP:" 'display emms-mode-line-icon-image-cache)
(format emms-mode-line-format (emms-info-file-info-song-artist
- (emms-playlist-current-track)))))
+ (emms-playlist-selected-track)))))
(setq emms-mode-line-mode-line-function 'emms-mode-line-icon-function)
diff --git a/emms-playing-time.el b/emms-playing-time.el
index 6dd6eb6..36881d4 100644
--- a/emms-playing-time.el
+++ b/emms-playing-time.el
@@ -104,7 +104,7 @@ e.g., display 02:37 instead of 02:37/05:49.")
(sec (% emms-playing-time 60))
;; How to adapt `emms-info-format-info' here?
(struct
- (emms-info-get (emms-playlist-current-track)))
+ (emms-info-get (emms-playlist-selected-track)))
(total-min-only
(when struct (emms-info-playing-time-min struct)))
(total-sec-only