diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/media/jao-mpc.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/media/jao-mpc.el b/lib/media/jao-mpc.el index 2ad27a4..c610c2a 100644 --- a/lib/media/jao-mpc.el +++ b/lib/media/jao-mpc.el @@ -256,9 +256,9 @@ "-f '%album% - %artist%' find \"(ALBUM =~ '.*')\" | uniq") ;;;###autoload -(defun jao-mpc-select-album () - (interactive) - (let ((albums (or jao-mpc--album-titles +(defun jao-mpc-select-album (refresh) + (interactive "P") + (let ((albums (or (and (not refresh) jao-mpc--album-titles) (setq jao-mpc--album-titles (split-string (jao-mpc--cmd jao-mpc--albums-cmd) "\n" t))))) |