[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/raeburn-startup 6012ed0 3/5: Load dumped.elc quiet
From: |
Ken Raeburn |
Subject: |
[Emacs-diffs] scratch/raeburn-startup 6012ed0 3/5: Load dumped.elc quietly. |
Date: |
Sun, 5 Feb 2017 14:10:06 +0000 (UTC) |
branch: scratch/raeburn-startup
commit 6012ed0ae2365a42f1d6ff772124015a8cf24428
Author: Ken Raeburn <address@hidden>
Commit: Ken Raeburn <address@hidden>
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 6a81194..51965b2 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1658,7 +1658,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))) */