Mercurial > emacs
changeset 51806:96c06b458966
(desktop-buffer-info, desktop-buffer-mh): Use with-no-warnings.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 07 Jul 2003 21:04:28 +0000 |
parents | 7a3de98ae801 |
children | 96f6726bae4d |
files | lisp/desktop.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/desktop.el Mon Jul 07 21:03:32 2003 +0000 +++ b/lisp/desktop.el Mon Jul 07 21:04:28 2003 +0000 @@ -795,7 +795,8 @@ (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 @@ ;; ---------------------------------------------------------------------------- (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))))