projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e776d7
)
* lisp/erc/erc.el (erc-process-input-line): Undo confused last change
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 4 Jan 2021 20:25:29 +0000
(15:25 -0500)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 4 Jan 2021 20:25:29 +0000
(15:25 -0500)
lisp/erc/erc.el
patch
|
blob
|
history
diff --git
a/lisp/erc/erc.el
b/lisp/erc/erc.el
index 66f882809845bb16108beb7e1a678fb838d2ddcc..bb68173b6dc06924c1d6c79928e07b38fbf3f5e0 100644
(file)
--- a/
lisp/erc/erc.el
+++ b/
lisp/erc/erc.el
@@
-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 (
function
p args)
- (
funcall
cmd args)
- (
apply
cmd args))
+ (if (
list
p 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)