Fix simple commands generation.
This commit is contained in:
parent
f63e4e682d
commit
542736ffd5
1 changed files with 2 additions and 2 deletions
4
empc.el
4
empc.el
|
|
@ -289,8 +289,8 @@ If the stream process is killed for whatever the reason, pause mpd if possible."
|
|||
(interactive)
|
||||
(empc-leave-idle-state)
|
||||
(if arg
|
||||
(empc-send (concat ,(concat command " ") arg))
|
||||
(empc-send ,command closure))))
|
||||
(empc-send (concat ,(concat command " ") arg) ,closure)
|
||||
(empc-send ,command ,closure))))
|
||||
|
||||
(defmacro empc-define-toggle-command (command &optional state-name attr &rest body)
|
||||
"Define a command that toggle a state."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue