diff lisp/gnus/pop3.el @ 87140:9c91533a901a

Fix buggy calls to `error'.
author Deepak Goel <deego@gnufans.org>
date Thu, 06 Dec 2007 18:13:53 +0000
parents 166a6141ae98
children 107ccd98fa12 2fcaae6177a5
line wrap: on
line diff
--- 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)