From 54d22a6f1639ddee41eb86c65d9e1e30a1f20c6c Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Tue, 12 Feb 2008 23:41:19 +0000 Subject: [PATCH] (after-init-hook): Set inhibit-startup-screen to t after reading the desktop. --- lisp/desktop.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/desktop.el b/lisp/desktop.el index 540fe799059..19d066a8008 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el @@ -1292,7 +1292,9 @@ If there are no buffers left to create, kill the timer." (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) -- 2.39.5