From ede141ac13b356380e03c510da185c2bd781bd4c Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 10 Apr 2012 13:53:31 -0400 Subject: [PATCH] * lisp/startup.el (command-line-1): Inhibit splash from daemon. Fixes: debbugs:10996 --- lisp/ChangeLog | 4 ++++ lisp/startup.el | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5b2ede24777..fdd3919b13b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2012-04-10 Stefan Monnier + + * startup.el (command-line-1): Inhibit splash from daemon (bug#10996). + 2012-04-10 Andreas Schwab * international/characters.el: Fix sorting. diff --git a/lisp/startup.el b/lisp/startup.el index 37e4f550dcd..2f72e804892 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -2341,6 +2341,7 @@ A fancy display is used on graphic displays, normal otherwise." (if (or inhibit-startup-screen initial-buffer-choice noninteractive + (daemonp) inhibit-x-resources) ;; Not displaying a startup screen. If 3 or more files @@ -2383,9 +2384,7 @@ A fancy display is used on graphic displays, normal otherwise." ;; (with-no-warnings ;; (setq menubar-bindings-done t)) - (if (> file-count 0) - (display-startup-screen t) - (display-startup-screen nil))))) + (display-startup-screen (> file-count 0))))) (defun command-line-normalize-file-name (file) "Collapse multiple slashes to one, to handle non-Emacs file names." -- 2.39.5