changeset 61765:d9587a02572b

(command-line): Use with-no-warnings.
author Richard M. Stallman <rms@gnu.org>
date Sat, 23 Apr 2005 16:39:54 +0000
parents 0d3c33403da5
children d4abeb773782
files lisp/startup.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/startup.el	Sat Apr 23 16:38:41 2005 +0000
+++ b/lisp/startup.el	Sat Apr 23 16:39:54 2005 +0000
@@ -995,7 +995,8 @@
   ;; the session manager and we have a session manager connection.
   (if (and (boundp 'x-session-previous-id)
            (stringp x-session-previous-id))
-      (emacs-session-restore x-session-previous-id)))
+      (with-no-warnings
+	(emacs-session-restore x-session-previous-id))))
 
 (defcustom initial-scratch-message (purecopy "\
 ;; This buffer is for notes you don't want to save, and for Lisp evaluation.