Avoid errors in 'rmail-get-new-mail'
* lisp/mail/rmail.el (rmail-insert-inbox-text): Don't assume the Rmail protocol is always a string when calling 'rmail-remote-proto-p'. (Bug#34252)
This commit is contained in:
@@ -2079,7 +2079,8 @@ Value is the size of the newly read mail after conversion."
|
||||
;; If we just read the password, most likely it is
|
||||
;; wrong. Otherwise, see if there is a specific
|
||||
;; reason to think that the problem is a wrong passwd.
|
||||
(if (and (rmail-remote-proto-p proto)
|
||||
(if (and proto
|
||||
(rmail-remote-proto-p proto)
|
||||
(or got-password
|
||||
(re-search-forward rmail-remote-password-error
|
||||
nil t)))
|
||||
|
||||
Reference in New Issue
Block a user