From 2e564b0dc50d873996148f653797b46441f0b061 Mon Sep 17 00:00:00 2001 From: Deepak Goel Date: Thu, 6 Dec 2007 16:30:37 +0000 Subject: [PATCH] Fix buggy call to `error'. --- lisp/erc/ChangeLog | 4 ++++ lisp/erc/erc-match.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index bd20dfbed45..f5d7c83985d 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog @@ -1,3 +1,7 @@ +2007-12-06 D. Goel + + * erc-match.el (erc-add-entry-to-list): Fix buggy call to `error'. + 2007-12-01 Glenn Morris * erc-backend.el (erc-server-send-ping): Move after definition of 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) -- 2.39.2