aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2014-04-29 11:51:49 -0400
committerGlenn Morris2014-04-29 11:51:49 -0400
commit9a3f71f795f0a39f28c0d0e9693537acb7cf8604 (patch)
tree855b2d863246dc6376c1ec7b7b7cea4ed33ed44b /lisp
parenta55ea27f60f94ff3fc3e02e253056137fc56c35b (diff)
downloademacs-9a3f71f795f0a39f28c0d0e9693537acb7cf8604.tar.gz
emacs-9a3f71f795f0a39f28c0d0e9693537acb7cf8604.zip
* lisp/mail/rmail.el (rmail-quit): Handle killed summaries.
Fixes: debbugs:17283
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/mail/rmail.el5
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bb23d634ac1..f7e1fd4cea8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12014-04-29 Glenn Morris <rgm@gnu.org>
2
3 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
4
12014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu> 52014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
2 6
3 * faces.el (face-spec-recalc): Apply X resources only after the 7 * faces.el (face-spec-recalc): Apply X resources only after the
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 1a016199757..486c06053b3 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -1,7 +1,6 @@
1;;; rmail.el --- main code of "RMAIL" mail reader for Emacs 1;;; rmail.el --- main code of "RMAIL" mail reader for Emacs
2 2
3;; Copyright (C) 1985-1988, 1993-1998, 2000-2014 Free Software 3;; Copyright (C) 1985-1988, 1993-1998, 2000-2014 Free Software Foundation, Inc.
4;; Foundation, Inc.
5 4
6;; Maintainer: emacs-devel@gnu.org 5;; Maintainer: emacs-devel@gnu.org
7;; Keywords: mail 6;; Keywords: mail
@@ -1573,7 +1572,7 @@ Hook `rmail-quit-hook' is run after expunging."
1573 (when (boundp 'rmail-quit-hook) 1572 (when (boundp 'rmail-quit-hook)
1574 (run-hooks 'rmail-quit-hook)) 1573 (run-hooks 'rmail-quit-hook))
1575 ;; Don't switch to the summary buffer even if it was recently visible. 1574 ;; Don't switch to the summary buffer even if it was recently visible.
1576 (when rmail-summary-buffer 1575 (when (rmail-summary-exists)
1577 (with-current-buffer rmail-summary-buffer 1576 (with-current-buffer rmail-summary-buffer
1578 (set-buffer-modified-p nil)) 1577 (set-buffer-modified-p nil))
1579 (replace-buffer-in-windows rmail-summary-buffer) 1578 (replace-buffer-in-windows rmail-summary-buffer)