diff options
author | forcer <forcer> | 2005-09-17 11:33:00 +0000 |
---|---|---|
committer | forcer <mwolson@gnu.org> | 2005-09-17 11:33:00 +0000 |
commit | 259a95a880d5245e02bd37d9e992f07a59e9e683 (patch) | |
tree | 02c0d143d95bdc416ed07a22595b167d2c5b94f7 | |
parent | 27c872628c0e7899af04e6d369b45d393e7ed69e (diff) |
emms-show now knows when nothing is playing.
darcs-hash:20050917113301-2189f-0d126507e1d0cc0f9fdc7a8d22a9848a27814e29.gz
-rw-r--r-- | emms.el | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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)))) |