diff options
author | Richard M. Stallman <[email protected]> | 2003-07-07 21:04:28 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 2003-07-07 21:04:28 +0000 |
commit | 6df8016c931e3007459a47661b1a567f10d39a0d (patch) | |
tree | 369ad6ee90e0222b17bd9ffa34a81c25d373e5df /lisp/desktop.el | |
parent | 774f8aee6f6b50aba51319e329b7d57c94e5da14 (diff) |
(desktop-buffer-info, desktop-buffer-mh): Use with-no-warnings.
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)))) |