[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/raeburn-startup de45051 37/43: Fix use of "-l" on
From: |
Ken Raeburn |
Subject: |
[Emacs-diffs] scratch/raeburn-startup de45051 37/43: Fix use of "-l" on command line after installation. |
Date: |
Mon, 31 Jul 2017 02:11:05 -0400 (EDT) |
branch: scratch/raeburn-startup
commit de4505145df3dda8816263a2547588daeab28fea
Author: Ken Raeburn <address@hidden>
Commit: Ken Raeburn <address@hidden>
Fix use of "-l" on command line after installation.
The use of "-l" shouldn't override the loading of dumped.elc for
users. When we need to suppress the use of dumped.elc in the build
process, do so explicitly.
* src/emacs.c (main): Let the loading of dumped.elc override the
loading of a module specified with "-l".
* src/Makefile.in (emacs$(EXEEXT)): Pass --no-loadup when running
temacs.
(bootstrap-emacs$(EXEEXT)): Likewise.
---
src/Makefile.in | 4 ++--
src/emacs.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/Makefile.in b/src/Makefile.in
index e2f70e6..ca25088 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -529,7 +529,7 @@ ${lispintdir}/characters.elc: ${charscript:.el=.elc}
emacs$(EXEEXT): temacs$(EXEEXT) \
lisp.mk $(etc)/DOC $(lisp) \
$(lispsource)/international/charprop.el ${charsets}
- LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup dump
+ LC_ALL=C $(RUN_TEMACS) --no-loadup -batch $(BUILD_DETAILS) -l loadup
dump
ifeq ($(CANNOT_DUMP),yes)
ln -f temacs$(EXEEXT) $@
else
@@ -733,7 +733,7 @@ $(lispsource)/loaddefs.el: $(VCSWITNESS) |
bootstrap-emacs$(EXEEXT)
## files from loadup.el in source form.
bootstrap-emacs$(EXEEXT): temacs$(EXEEXT)
$(MAKE) -C ../lisp update-subdirs
- $(RUN_TEMACS) --batch $(BUILD_DETAILS) --load loadup bootstrap
+ $(RUN_TEMACS) --no-loadup --batch $(BUILD_DETAILS) --load loadup
bootstrap
ifeq ($(CANNOT_DUMP),yes)
ln -f temacs$(EXEEXT) $@
else
diff --git a/src/emacs.c b/src/emacs.c
index 832fc2c..4e812b1 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1670,7 +1670,7 @@ Using an Emacs configured with --with-x-toolkit=lucid
does not have this problem
#endif
Vtop_level = list2 (Qload, build_unibyte_string (file));
}
- else if (! no_loadup)
+ if (! no_loadup)
/* Unless next switch is -nl, load "dumped.elc" first thing.
If it fails, we won't be able to run. */
{
- [Emacs-diffs] scratch/raeburn-startup 98025ef 31/43: Retain overlay properties when dumping., (continued)
- [Emacs-diffs] scratch/raeburn-startup 98025ef 31/43: Retain overlay properties when dumping., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup f6793d2 41/43: Don't use byte-compile-dynamic for stuff we're going to load., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 9664101 16/43: Load dumped.elc quietly., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup cc22b26 19/43: Don't save internal--text-quoting-flag., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 3da90ae 32/43: Make watchers dumpable., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 363abae 30/43: Support dumping variable aliases., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 291e585 24/43: Update load-path and purify-flag even if not bootstrapping., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 2c96099 27/43: Don't dump artifacts of the dump process., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup bd8bcb3 29/43: Load uniquify after dump/reload., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup d987a68 39/43: Don't show the build directory in load-history., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup de45051 37/43: Fix use of "-l" on command line after installation.,
Ken Raeburn <=
- [Emacs-diffs] scratch/raeburn-startup 272c874 23/43: Fix startup on MS-Windows, Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup d95042a 35/43: ; Add comment regarding silent loading of dumped.elc., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 5d4b7f9 26/43: Dump and restore empty abbrev tables., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup a0ac557 28/43: Clear out doc strings matching DOC file before dumping., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 7764bd73 36/43: * lisp/loadup.el: Load uniquify quietly. Put fewer newlines in dump file., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 6faa843 20/43: Load documentation at startup., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 43dcdd3 25/43: Load cl-macs, needed for cl-labels., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 761346d 34/43: Use CANNOT_DUMP mode., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup dbdfea8 33/43: Don't check for dump-emacs being bound., Ken Raeburn, 2017/07/31
- [Emacs-diffs] scratch/raeburn-startup 6794f2e 40/43: Make more preloaded files visible to make-docfile., Ken Raeburn, 2017/07/31