rewrite comment
This commit is contained in:
parent
aee4d2b2e9
commit
596b9e7ae3
1 changed files with 2 additions and 0 deletions
2
empc.el
2
empc.el
|
|
@ -133,6 +133,8 @@ form '('error (error-code . error-message))."
|
|||
(funcall closure (symbol-plist 'empc-status-plist))))
|
||||
|
||||
(defun empc-initialize ()
|
||||
"Initialize the client after connection.
|
||||
Send the password or retrieve available commands."
|
||||
(when empc-server-password
|
||||
(empc-send (concat "password " empc-server-password)))
|
||||
(empc-send "commands" nil '(lambda (closure msg)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue