From: Lars Ingebrigtsen Date: Tue, 19 Jan 2021 14:54:40 +0000 (+0100) Subject: Don't stop Gnus startup on password failures X-Git-Tag: emacs-28.0.90~4217 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e544b863433e37fbd2555d3b48da3a88a6307ddb;p=emacs.git Don't stop Gnus startup on password failures * lisp/gnus/nntp.el (nntp-send-authinfo): Don't signal an `nntp-authinfo-rejected' error, because that will stop Gnus startup (bug#45855). Instead signal an error that will be caught higher up. --- diff --git a/lisp/gnus/nntp.el b/lisp/gnus/nntp.el index 7e10e151a4d..c2bb960f945 100644 --- a/lisp/gnus/nntp.el +++ b/lisp/gnus/nntp.el @@ -1209,7 +1209,7 @@ If SEND-IF-FORCE, only send authinfo to the server if the (read-passwd (format "NNTP (%s@%s) password: " user nntp-address))))))) (if (not result) - (signal 'nntp-authinfo-rejected "Password rejected") + (error "Password rejected") result)))))) ;;; Internal functions.