Avoid duplicate entries in process-environment after re-dumping
* src/pdumper.c (Fdump_emacs_portable): Reset process-environment to nil. (Bug#34936)
This commit is contained in:
parent
c569cceb2d
commit
107215596c
1 changed files with 6 additions and 0 deletions
|
@ -4025,6 +4025,12 @@ types. */)
|
|||
Lisp_Object symbol = intern ("command-line-processed");
|
||||
specbind (symbol, Qnil);
|
||||
|
||||
/* Reset process-environment -- this is for when they re-dump a
|
||||
pdump-restored emacs, since set_initial_environment wants always
|
||||
to cons it from scratch. */
|
||||
Vprocess_environment = Qnil;
|
||||
garbage_collect ();
|
||||
|
||||
CHECK_STRING (filename);
|
||||
filename = Fexpand_file_name (filename, Qnil);
|
||||
filename = ENCODE_FILE (filename);
|
||||
|
|
Loading…
Add table
Reference in a new issue