diff options
Diffstat (limited to 'lisp/mpc.el')
-rw-r--r-- | lisp/mpc.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/mpc.el b/lisp/mpc.el index 0800af1bd36..825eb3c05d4 100644 --- a/lisp/mpc.el +++ b/lisp/mpc.el @@ -209,8 +209,7 @@ defaults to 6600 and HOST defaults to localhost." (defconst mpc--proc-end-re "^\\(?:OK\\(?: MPD .*\\)?\\|ACK \\(.*\\)\\)\n") -(put 'mpc-proc-error 'error-conditions '(mpc-proc-error error)) -(put 'mpc-proc-error 'error-message "MPD error") +(define-error 'mpc-proc-error "MPD error") (defun mpc--debug (format &rest args) (if (get-buffer "*MPC-debug*") |