changeset 91810:81c282959319

(after-init-hook): Set inhibit-startup-screen to t after reading the desktop.
author Juri Linkov <juri@jurta.org>
date Tue, 12 Feb 2008 23:41:19 +0000
parents d28603df5191
children 3db89e7c0f1d
files lisp/desktop.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/desktop.el	Tue Feb 12 23:41:08 2008 +0000
+++ b/lisp/desktop.el	Tue Feb 12 23:41:19 2008 +0000
@@ -1292,7 +1292,9 @@
       (when (member key command-line-args)
         (setq command-line-args (delete key command-line-args))
         (setq desktop-save-mode nil)))
-    (when desktop-save-mode (desktop-read))))
+    (when desktop-save-mode
+      (desktop-read)
+      (setq inhibit-startup-screen t))))
 
 (provide 'desktop)