aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoni Rabkin <yoni@rabkins.net>2021-04-29 12:36:13 -0400
committerYoni Rabkin <yoni@rabkins.net>2021-04-29 12:36:13 -0400
commit02915f7aa24d27d717ff4821a58f791cffcc174c (patch)
tree1a4e323235fae45a08f8cfbe773c7014c4ed7e09
parent0f9bc54e22819255a02758850bd940491923b7ce (diff)
* emms-player-mpv.el: use closure
patch by Stefan Monnier
-rw-r--r--emms-player-mpv.el4
1 files 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)