aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mh-e
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mh-e')
-rw-r--r--lisp/mh-e/ChangeLog12
-rw-r--r--lisp/mh-e/mh-e.el13
2 files changed, 25 insertions, 0 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 92c2600560f..6eb2c1bc2ec 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,6 @@
12004-04-26 Lars Hansen <larsh@math.ku.dk>
2 * mh-e.el (mh-folder-mode): Bind desktop-save-buffer to t.
3
12003-04-24 Bill Wohler <wohler@newt.com> 42003-04-24 Bill Wohler <wohler@newt.com>
2 5
3 * Released MH-E version 7.3. 6 * Released MH-E version 7.3.
@@ -47,6 +50,10 @@
47 runs checkdoc and lm-verify which is useful before releasing the 50 runs checkdoc and lm-verify which is useful before releasing the
48 software. It can and should be expanded to do real unit tests. 51 software. It can and should be expanded to do real unit tests.
49 52
532004-04-22 Lars Hansen <larsh@math.ku.dk>
54
55 * mh-e.el (mh-restore-desktop-buffer): Delete with-no-warnings.
56
502003-04-22 Mark D Baushke <mdb@gnu.org> 572003-04-22 Mark D Baushke <mdb@gnu.org>
51 58
52 * mh-alias.el: Update Copyright. 59 * mh-alias.el: Update Copyright.
@@ -71,6 +78,11 @@
71 Emacs. 78 Emacs.
72 (mh-exec-cmd-error): Add a comment, so that we change it later on. 79 (mh-exec-cmd-error): Add a comment, so that we change it later on.
73 80
812004-04-21 Lars Hansen <larsh@math.ku.dk>
82
83 * mh-e.el (mh-restore-desktop-buffer): Move from
84 desktop.el. Add Parameters.
85
742003-04-18 Steve Youngs <youngs@xemacs.org> 862003-04-18 Steve Youngs <youngs@xemacs.org>
75 87
76 * mh-xemacs-icons.el (mh-xemacs-icons): Provide 'mh-xemacs-icons' 88 * mh-xemacs-icons.el (mh-xemacs-icons): Provide 'mh-xemacs-icons'
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el
index c4b027f382f..344a67f5725 100644
--- a/lisp/mh-e/mh-e.el
+++ b/lisp/mh-e/mh-e.el
@@ -1548,6 +1548,8 @@ When a folder is visited, the hook `mh-folder-mode-hook' is run.
1548 1548
1549 (make-local-variable 'font-lock-defaults) 1549 (make-local-variable 'font-lock-defaults)
1550 (setq font-lock-defaults '(mh-folder-font-lock-keywords t)) 1550 (setq font-lock-defaults '(mh-folder-font-lock-keywords t))
1551 (make-local-variable 'desktop-save-buffer)
1552 (setq desktop-save-buffer t)
1551 (mh-make-local-vars 1553 (mh-make-local-vars
1552 'mh-current-folder (buffer-name) ; Name of folder, a string 1554 'mh-current-folder (buffer-name) ; Name of folder, a string
1553 'mh-show-buffer (format "show-%s" (buffer-name)) ; Buffer that displays msgs 1555 'mh-show-buffer (format "show-%s" (buffer-name)) ; Buffer that displays msgs
@@ -2441,6 +2443,17 @@ well.")
2441 "^There is no other window$")) 2443 "^There is no other window$"))
2442 (add-to-list 'debug-ignored-errors mess)) 2444 (add-to-list 'debug-ignored-errors mess))
2443 2445
2446;;;; Desktop support
2447
2448;;;###autoload
2449(defun mh-restore-desktop-buffer (desktop-buffer-file-name
2450 desktop-buffer-name
2451 desktop-buffer-misc)
2452 "Restore an mh folder buffer specified in a desktop file."
2453 (mh-find-path)
2454 (mh-visit-folder desktop-buffer-name)
2455 (current-buffer))
2456
2444(provide 'mh-e) 2457(provide 'mh-e)
2445 2458
2446;;; Local Variables: 2459;;; Local Variables: