diff options
author | jao <jao@gnu.org> | 2021-06-13 03:23:16 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-06-13 03:23:16 +0100 |
commit | c3668d39f51e57a28800af7c80ab4d4085250872 (patch) | |
tree | 191d051b2d9ccc99af1229b4de33f34e32994be4 /lib/media | |
parent | 9a09bf70f2a363c43cd381a2b8968ddfde22e43b (diff) | |
download | elibs-c3668d39f51e57a28800af7c80ab4d4085250872.tar.gz elibs-c3668d39f51e57a28800af7c80ab4d4085250872.tar.bz2 |
keybindings
Diffstat (limited to 'lib/media')
-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))))) |