(command-line): Use with-no-warnings.
authorRichard M. Stallman <rms@gnu.org>
Sat, 23 Apr 2005 16:39:54 +0000 (16:39 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 23 Apr 2005 16:39:54 +0000 (16:39 +0000)
lisp/startup.el

index a3d6956..e3d0232 100644 (file)
@@ -995,7 +995,8 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
   ;; 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.