summaryrefslogtreecommitdiff
path: root/lisp/erc/erc-match.el
diff options
context:
space:
mode:
authorDeepak Goel <deego@gnufans.org>2007-12-06 16:30:37 +0000
committerDeepak Goel <deego@gnufans.org>2007-12-06 16:30:37 +0000
commit2e564b0dc50d873996148f653797b46441f0b061 (patch)
tree02ff75f86a6e59660bc928a15ab3a60057815152 /lisp/erc/erc-match.el
parent214abdd48de346bf9b9e331fedbcee607605776a (diff)
downloademacs-2e564b0dc50d873996148f653797b46441f0b061.tar.gz
emacs-2e564b0dc50d873996148f653797b46441f0b061.tar.bz2
emacs-2e564b0dc50d873996148f653797b46441f0b061.zip
Fix buggy call to `error'.
Diffstat (limited to 'lisp/erc/erc-match.el')
-rw-r--r--lisp/erc/erc-match.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/erc/erc-match.el b/lisp/erc/erc-match.el
index a4752588ebd..757ef66ea17 100644
--- a/lisp/erc/erc-match.el
+++ b/lisp/erc/erc-match.el
@@ -299,7 +299,7 @@ Completion is performed on the optional alist COMPLETIONS."
(lambda (x)
(not (erc-member-ignore-case (car x) (symbol-value list)))))))
(if (erc-member-ignore-case entry (symbol-value list))
- (error (format "\"%s\" is already on the list" entry))
+ (error "\"%s\" is already on the list" entry)
(set list (cons entry (symbol-value list))))))
(defun erc-remove-entry-from-list (list prompt)