changeset 87134:23c6fc4561ea

Fix buggy call to `error'.
author Deepak Goel <deego@gnufans.org>
date Thu, 06 Dec 2007 16:30:37 +0000
parents a99e0ba48aeb
children 04590cd6c71c
files lisp/erc/ChangeLog lisp/erc/erc-match.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/erc/ChangeLog	Thu Dec 06 15:04:29 2007 +0000
+++ b/lisp/erc/ChangeLog	Thu Dec 06 16:30:37 2007 +0000
@@ -1,3 +1,7 @@
+2007-12-06  D. Goel  <deego3@gmail.com>
+
+	* erc-match.el (erc-add-entry-to-list): Fix buggy call to `error'.
+
 2007-12-01  Glenn Morris  <rgm@gnu.org>
 
 	* erc-backend.el (erc-server-send-ping): Move after definition of
--- a/lisp/erc/erc-match.el	Thu Dec 06 15:04:29 2007 +0000
+++ b/lisp/erc/erc-match.el	Thu Dec 06 16:30:37 2007 +0000
@@ -299,7 +299,7 @@
 		(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)