changeset 87140:9c91533a901a

Fix buggy calls to `error'.
author Deepak Goel <deego@gnufans.org>
date Thu, 06 Dec 2007 18:13:53 +0000
parents f358a2fd5895
children 1a8ec74a74f3
files lisp/gnus/ChangeLog lisp/gnus/pop3.el
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Thu Dec 06 17:56:42 2007 +0000
+++ b/lisp/gnus/ChangeLog	Thu Dec 06 18:13:53 2007 +0000
@@ -1,5 +1,6 @@
 2007-12-06  D. Goel  <deego3@gmail.com>
 
+	* pop3.el (pop3-read-response): Ditto.
 
 	* gnus-art.el (article-make-date-line): Fix buggy call to `error'.
 	* gnus-start.el (gnus-load): Ditto.
--- a/lisp/gnus/pop3.el	Thu Dec 06 17:56:42 2007 +0000
+++ b/lisp/gnus/pop3.el	Thu Dec 06 18:13:53 2007 +0000
@@ -314,7 +314,7 @@
       (setq match-end (point))
       (goto-char pop3-read-point)
       (if (looking-at "-ERR")
-	  (error (buffer-substring (point) (- match-end 2)))
+	  (error "%s" (buffer-substring (point) (- match-end 2)))
 	(if (not (looking-at "+OK"))
 	    (progn (setq pop3-read-point match-end) nil)
 	  (setq pop3-read-point match-end)