Commit 6df8016c authored by Richard M. Stallman's avatar Richard M. Stallman

(desktop-buffer-info, desktop-buffer-mh): Use with-no-warnings.

parent 774f8aee
......@@ -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))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment