From 96641018334776d06f0146fd2ffe62ada5dbc09f Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sun, 5 Feb 2017 07:31:22 -0500 Subject: [PATCH] Load dumped.elc quietly. * src/emacs.c (main): Pass additional arguments to load to silence messages about loading dumped.elc. --- src/emacs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/emacs.c b/src/emacs.c index 8f461fe8a4b..b7c0b47cb29 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -1677,7 +1677,9 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem /* Unless next switch is -nl, load "dumped.elc" first thing. If it fails, we won't be able to run. */ { - Lisp_Object load = list2 (Qload, build_string ("../src/dumped.elc")); + Lisp_Object load = list4 (Qload, + build_string ("../src/dumped.elc"), + Qnil, Qt); /* XXX We need a way for Lisp to cause Emacs to exit, with an error message to stderr after restoring tty modes. */ /* (condition-case nil bodyform (file-missing (kill-emacs 42))) */ -- 2.39.5