emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-24 r117034: * lisp/mail/rmail.el (rmail-quit): Handl


From: Glenn Morris
Subject: [Emacs-diffs] emacs-24 r117034: * lisp/mail/rmail.el (rmail-quit): Handle killed summaries.
Date: Tue, 29 Apr 2014 15:51:55 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117034
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/17283
committer: Glenn Morris <address@hidden>
branch nick: emacs-24
timestamp: Tue 2014-04-29 11:51:49 -0400
message:
  * lisp/mail/rmail.el (rmail-quit): Handle killed summaries.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/mail/rmail.el             rmail.el-20091113204419-o5vbwnq5f7feedwu-8812
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-04-28 19:15:58 +0000
+++ b/lisp/ChangeLog    2014-04-29 15:51:49 +0000
@@ -1,3 +1,7 @@
+2014-04-29  Glenn Morris  <address@hidden>
+
+       * mail/rmail.el (rmail-quit): Handle killed summaries.  (Bug#17283)
+
 2014-04-27  Matthias Dahl  <address@hidden>
 
        * faces.el (face-spec-recalc): Apply X resources only after the

=== modified file 'lisp/mail/rmail.el'
--- a/lisp/mail/rmail.el        2014-02-13 18:23:36 +0000
+++ b/lisp/mail/rmail.el        2014-04-29 15:51:49 +0000
@@ -1,7 +1,6 @@
 ;;; rmail.el --- main code of "RMAIL" mail reader for Emacs
 
-;; Copyright (C) 1985-1988, 1993-1998, 2000-2014 Free Software
-;; Foundation, Inc.
+;; Copyright (C) 1985-1988, 1993-1998, 2000-2014 Free Software Foundation, Inc.
 
 ;; Maintainer: address@hidden
 ;; Keywords: mail
@@ -1573,7 +1572,7 @@
   (when (boundp 'rmail-quit-hook)
     (run-hooks 'rmail-quit-hook))
   ;; Don't switch to the summary buffer even if it was recently visible.
-  (when rmail-summary-buffer
+  (when (rmail-summary-exists)
     (with-current-buffer rmail-summary-buffer
       (set-buffer-modified-p nil))
     (replace-buffer-in-windows rmail-summary-buffer)


reply via email to

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