|
From: | Ian D |
Subject: | [Emms-patches] Function to Display Current Play Modes |
Date: | Sat, 03 May 2014 13:24:29 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0 |
EMMS Developers,After many times of forgetting that I had 'repeat-track' set to true, I developed a function that shows which play modes are active. I thought that this might be useful to others, so I've included the function in this email.
Ian D (defun emms-display-modes () "Display the current EMMS play modes." (interactive) (let ((pl-str (concat "playlist: " (if emms-repeat-playlist "y" "n") " ")) (rp-str (concat "repeat: " (if emms-repeat-track "y" "n") " ")) (rd-str (concat "random: " (if emms-random-playlist "y" "n") " "))) (message (concat pl-str rp-str rd-str))))
[Prev in Thread] | Current Thread | [Next in Thread] |