From 02915f7aa24d27d717ff4821a58f791cffcc174c Mon Sep 17 00:00:00 2001 From: Yoni Rabkin Date: Thu, 29 Apr 2021 12:36:13 -0400 Subject: * emms-player-mpv.el: use closure patch by Stefan Monnier --- emms-player-mpv.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emms-player-mpv.el b/emms-player-mpv.el index 922f870..69f81fa 100644 --- a/emms-player-mpv.el +++ b/emms-player-mpv.el @@ -814,8 +814,8 @@ if there was any issue when trying to start it initially." (let* ((start-cmd (list (if track-is-playlist 'loadlist 'loadfile) track-name 'replace)) - (start-func `(lambda () - (emms-player-mpv-cmd ',start-cmd + (start-func (lambda () + (emms-player-mpv-cmd start-cmd (apply-partially #'emms-player-mpv-start-error-handler ',start-cmd))))) (if emms-player-mpv-ipc-stop-command (setq emms-player-mpv-ipc-stop-command start-func) -- cgit v1.2.3