# HG changeset patch # User Deepak Goel # Date 1196958637 0 # Node ID 23c6fc4561eaa6e56b3e8e3b32283133eb5e8ecd # Parent a99e0ba48aeb387dc52b459a3050bb1a375dbf19 Fix buggy call to `error'. diff -r a99e0ba48aeb -r 23c6fc4561ea lisp/erc/ChangeLog --- 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 + + * 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 -r a99e0ba48aeb -r 23c6fc4561ea lisp/erc/erc-match.el --- 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)