1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(mh-folder-mode): Bind desktop-save-buffer to t.

This commit is contained in:
Lars Hansen 2004-04-26 18:53:49 +00:00
parent 536d6baa1d
commit 1983467ef7
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2004-04-26 Lars Hansen <larsh@math.ku.dk>
* mh-e.el (mh-folder-mode): Bind desktop-save-buffer to t.
2003-04-24 Bill Wohler <wohler@newt.com>
* Released MH-E version 7.3.

View File

@ -1548,6 +1548,8 @@ When a folder is visited, the hook `mh-folder-mode-hook' is run.
(make-local-variable 'font-lock-defaults)
(setq font-lock-defaults '(mh-folder-font-lock-keywords t))
(make-local-variable 'desktop-save-buffer)
(setq desktop-save-buffer t)
(mh-make-local-vars
'mh-current-folder (buffer-name) ; Name of folder, a string
'mh-show-buffer (format "show-%s" (buffer-name)) ; Buffer that displays msgs