Add a `\n' at the end of command when sent without argument.
This commit is contained in:
parent
4575a05167
commit
92959c5cb5
1 changed files with 1 additions and 1 deletions
2
empc.el
2
empc.el
|
|
@ -300,7 +300,7 @@ If the stream process is killed for whatever the reason, pause mpd if possible."
|
|||
(empc-leave-idle-state)
|
||||
(if arg
|
||||
(empc-send (concat ,(concat command " ") arg "\n") ,closure)
|
||||
(empc-send ,command ,closure))))
|
||||
(empc-send (concat ,command "\n") ,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