summaryrefslogtreecommitdiff
path: root/lisp/erc/erc-goodies.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/erc/erc-goodies.el')
-rw-r--r--lisp/erc/erc-goodies.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/erc/erc-goodies.el b/lisp/erc/erc-goodies.el
index 41083829bac..ff5539e7928 100644
--- a/lisp/erc/erc-goodies.el
+++ b/lisp/erc/erc-goodies.el
@@ -177,7 +177,7 @@ does not appear in the ERC buffer after the user presses ENTER.")
"This mode distinguishes non-commands.
Commands listed in `erc-insert-this' know how to display
themselves."
- ((push 'erc-send-distinguish-noncommands erc-pre-send-functions))
+ ((cl-pushnew 'erc-send-distinguish-noncommands erc-pre-send-functions))
((setq erc-pre-send-functions (delq 'erc-send-distinguish-noncommands
erc-pre-send-functions))))