# HG changeset patch # User Lars Hansen # Date 1082580528 0 # Node ID 1df02321d7adae8da0e39458bc0c1b50f9089e0b # Parent ee7e5daa7ffddcea97db9a5070a6515463b52152 (mh-restore-desktop-buffer): Move from desktop.el. Add Parameters. diff -r ee7e5daa7ffd -r 1df02321d7ad lisp/mh-e/mh-e.el --- a/lisp/mh-e/mh-e.el Wed Apr 21 20:48:47 2004 +0000 +++ b/lisp/mh-e/mh-e.el Wed Apr 21 20:48:48 2004 +0000 @@ -2441,6 +2441,18 @@ "^There is no other window$")) (add-to-list 'debug-ignored-errors mess)) +;;;; Desktop support + +;;;###autoload +(defun mh-restore-desktop-buffer (desktop-buffer-file-name + desktop-buffer-name + desktop-buffer-misc) + "Restore an mh folder buffer specified in a desktop file." + (with-no-warnings + (mh-find-path) + (mh-visit-folder desktop-buffer-name) + (current-buffer))) + (provide 'mh-e) ;;; Local Variables: