From: Francois Fleuret Date: Fri, 2 Dec 2016 15:37:14 +0000 (+0100) Subject: Allows to customize the display of continuous mode. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=39e92d671d875284f2aaa5f9133959ad5103fb86;p=elisp.git Allows to customize the display of continuous mode. --- diff --git a/media.el b/media.el index d380970..ebddca7 100644 --- a/media.el +++ b/media.el @@ -103,6 +103,11 @@ title to display in the list (convenient for internet radios)." :type 'boolean :group 'media) +(defcustom media/continue-mode-hint "*" + "What to append to the MPlayer string when in repeat mode" + :type 'string + :group 'media) + (defcustom media/expert nil "Should the keymap help be shown?" :type 'boolean @@ -916,7 +921,7 @@ which stops when the songs ends." (concat " " media/player-id - (if media/continue-mode "*") + (if media/continue-mode media/continue-mode-hint) " " (if media/current-information