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:
parent
9c8412a0b8
commit
7ba8f80398
1 changed files with 2 additions and 1 deletions
|
@ -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
|
;; If we just read the password, most likely it is
|
||||||
;; wrong. Otherwise, see if there is a specific
|
;; wrong. Otherwise, see if there is a specific
|
||||||
;; reason to think that the problem is a wrong passwd.
|
;; 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
|
(or got-password
|
||||||
(re-search-forward rmail-remote-password-error
|
(re-search-forward rmail-remote-password-error
|
||||||
nil t)))
|
nil t)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue