1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00

Fix previous -batch change for gc-cons-percentage

* src/emacs.c (main): Reset the default for gc-cons-percentage in
interactive Emacs.
This commit is contained in:
Lars Ingebrigtsen 2022-06-21 15:11:28 +02:00
parent 73a384a986
commit 49137311a4

View File

@ -1947,8 +1947,7 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem
/* Do less garbage collection in batch mode (since these tend to be
more short-lived, and the memory is returned to the OS on exit
anyway). */
if (noninteractive)
Vgc_cons_percentage = make_float (1.0);
Vgc_cons_percentage = make_float (noninteractive? 1.0: 0.1);
no_loadup
= argmatch (argv, argc, "-nl", "--no-loadup", 6, NULL, &skip_args);