diff options
author | Chong Yidong <cyd@gnu.org> | 2012-01-28 10:01:05 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-01-28 10:01:05 +0800 |
commit | 0f2bad27087f219b48a06a6b0f9ed8a78452a6f5 (patch) | |
tree | a1da0cb85c98888b50614cdd82c78e5c5224885c | |
parent | d7a9e63bd617a7941a03f0938c8f8cce4220bb71 (diff) | |
download | emacs-0f2bad27087f219b48a06a6b0f9ed8a78452a6f5.tar.gz |
* mail/rmail.el (rmail-mail-return): Only switch to live buffers.
-rw-r--r-- | lisp/mail/rmail.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 813912f2e9b..7d4c7c15447 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -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 |