aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emms.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/emms.el b/emms.el
index aed5e28..34244ea 100644
--- a/emms.el
+++ b/emms.el
@@ -294,8 +294,10 @@ It can also be negative to seek backwards."
If INSERTP is non-nil, insert the description into the current buffer instead.
This function uses `emms-show-format' to format the current track."
(interactive "P")
- (let ((string (format emms-show-format (emms-track-description
- (emms-playlist-selected-track)))))
+ (let ((string (if emms-player-playing-p
+ (format emms-show-format (emms-track-description
+ (emms-playlist-selected-track)))
+ "Nothing playing right now")))
(if insertp
(insert string)
(message "%s" string))))