emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106959: * mail/rmail.el (rmail-mail-


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106959: * mail/rmail.el (rmail-mail-return): Only switch to live buffers.
Date: Sat, 28 Jan 2012 10:01:05 +0800
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106959
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Sat 2012-01-28 10:01:05 +0800
message:
  * mail/rmail.el (rmail-mail-return): Only switch to live buffers.
modified:
  lisp/mail/rmail.el
=== modified file 'lisp/mail/rmail.el'
--- a/lisp/mail/rmail.el        2012-01-28 01:58:27 +0000
+++ b/lisp/mail/rmail.el        2012-01-28 02:01:05 +0000
@@ -3620,7 +3620,7 @@
       (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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]