aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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