Commit 2e564b0d authored by Deepak Goel's avatar Deepak Goel
Browse files

Fix buggy call to `error'.

parent 214abdd4
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
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment