diff options
author | Yuchen Pei <id@ypei.org> | 2024-05-26 21:01:25 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2024-05-26 21:01:25 +1000 |
commit | 39bcc45813e0330b7d2321430716614f3653bb9f (patch) | |
tree | 6c9b36f59f4bad86699a75b776c2f0f1740a145b /emacs/.emacs.d/lisp | |
parent | bcc1b224be5afe9bfb50c68f87f9c154c703b76f (diff) |
[emacs] emms hardcode player preference
otherwise the list passed to the preference function my be reversed...
Diffstat (limited to 'emacs/.emacs.d/lisp')
-rw-r--r-- | emacs/.emacs.d/lisp/my/my-emms.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-emms.el b/emacs/.emacs.d/lisp/my/my-emms.el index f4e9bc0..ffb6bc0 100644 --- a/emacs/.emacs.d/lisp/my/my-emms.el +++ b/emacs/.emacs.d/lisp/my/my-emms.el @@ -166,8 +166,8 @@ either 'audio or 'video (string-prefix-p "file://" name) (member (file-name-extension name) '("mkv" "mp4" "ogv" "avi" "webm"))) - (cadr players) - (car players)))) + 'emms-player-vlc + 'emms-player-mpv))) (defvar my-emms-playlist-alist nil "alist controlling playlists, where the cdr of each item is an also an alist, |