diff options
Diffstat (limited to 'lisp/desktop.el')
-rw-r--r-- | lisp/desktop.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/desktop.el b/lisp/desktop.el index 932063ebec..4c3a6be176 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el @@ -795,7 +795,8 @@ This function always sets `desktop-enable' to t." (second (nth 1 desktop-buffer-misc))) (when (and first second) (require 'info) - (Info-find-node first second) + (with-no-warnings + (Info-find-node first second)) (current-buffer)))))) ;; ---------------------------------------------------------------------------- @@ -814,7 +815,7 @@ This function always sets `desktop-enable' to t." ;; ---------------------------------------------------------------------------- (defun desktop-buffer-mh () "Load a folder in the mh system." (if (eq 'mh-folder-mode desktop-buffer-major-mode) - (progn + (with-no-warnings (mh-find-path) (mh-visit-folder desktop-buffer-name) (current-buffer)))) |