mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
* lisp/erc/erc.el (erc-process-input-line): Undo confused last change
This commit is contained in:
parent
1e776d7d6a
commit
42c3f7a134
@ -2821,9 +2821,9 @@ this function from interpreting the line as a command."
|
||||
(let* ((cmd (nth 0 command-list))
|
||||
(args (nth 1 command-list)))
|
||||
(condition-case nil
|
||||
(if (functionp args)
|
||||
(funcall cmd args)
|
||||
(apply cmd args))
|
||||
(if (listp args)
|
||||
(apply cmd args)
|
||||
(funcall cmd args))
|
||||
(wrong-number-of-arguments
|
||||
(erc-display-message nil 'error (current-buffer) 'incorrect-args
|
||||
?c (erc-command-name cmd)
|
||||
|
Loading…
Reference in New Issue
Block a user