(mh-restore-desktop-buffer): Move from desktop.el. Add Parameters.
This commit is contained in:
parent
c3f85d9536
commit
c4e2f5679f
1 changed files with 12 additions and 0 deletions
|
@ -2441,6 +2441,18 @@ well.")
|
|||
"^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:
|
||||
|
|
Loading…
Add table
Reference in a new issue