From 2b5f7b7feb7613e5dc38ff6ca025eb6e9d68be40 Mon Sep 17 00:00:00 2001 From: Lars Hansen Date: Mon, 26 Apr 2004 18:54:23 +0000 Subject: [PATCH] (rmail-variables): Bind desktop-save-buffer to t. --- lisp/mail/rmail.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 571219b3dfe..bdf04be519a 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -1139,7 +1139,9 @@ Instead, these commands are available: (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) -- 2.39.5