From c3668d39f51e57a28800af7c80ab4d4085250872 Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 13 Jun 2021 03:23:16 +0100 Subject: keybindings --- lib/media/jao-mpc.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/media') 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))))) -- cgit v1.2.3