changeset 55152:734ea91cb677

(rmail-variables): Bind desktop-save-buffer to t.
author Lars Hansen <larsh@soem.dk>
date Mon, 26 Apr 2004 18:54:23 +0000
parents b702b580608d
children 33f0fdb8887c
files lisp/mail/rmail.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Mon Apr 26 18:53:49 2004 +0000
+++ b/lisp/mail/rmail.el	Mon Apr 26 18:54:23 2004 +0000
@@ -1139,7 +1139,9 @@
   (make-local-variable 'kill-buffer-hook)
   (add-hook 'kill-buffer-hook 'rmail-mode-kill-summary)
   (make-local-variable 'file-precious-flag)
-  (setq file-precious-flag t))
+  (setq file-precious-flag t)
+  (make-local-variable 'desktop-save-buffer)
+  (setq desktop-save-buffer t))
 
 ;; Handle M-x revert-buffer done in an rmail-mode buffer.
 (defun rmail-revert (arg noconfirm)