]> git.eshelyaron.com Git - emacs.git/commitdiff
(desktop-buffer-info, desktop-buffer-mh): Use with-no-warnings.
authorRichard M. Stallman <rms@gnu.org>
Mon, 7 Jul 2003 21:04:28 +0000 (21:04 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 7 Jul 2003 21:04:28 +0000 (21:04 +0000)
lisp/desktop.el

index 932063ebec4e4490c82296fd15878b38f4ea41a3..4c3a6be176f1eccfb983badd2b159f3926fae904 100644 (file)
@@ -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))))