mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
* mail/rmail.el (rmail-mail-return): Only switch to live buffers.
This commit is contained in:
parent
d7a9e63bd6
commit
0f2bad2708
@ -3620,7 +3620,7 @@ to switch to."
|
||||
(cond ((null rmail-flag)
|
||||
;; If the Rmail buffer is not in the next window, switch
|
||||
;; directly to the Rmail buffer specified by NEWBUF.
|
||||
(if newbuf
|
||||
(if (buffer-live-p newbuf)
|
||||
(switch-to-buffer newbuf)))
|
||||
;; If the Rmail buffer is in the next window, switch to
|
||||
;; the summary buffer if `mail-bury-selects-summary' is
|
||||
|
Loading…
Reference in New Issue
Block a user