From 2c96099337be2bd0f4d7f29a680813028b1d5887 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 13 Mar 2017 03:59:16 -0400 Subject: [PATCH] Don't dump artifacts of the dump process. * lisp/loadup.el: Exclude from dumping any of the variables that are let-bound during the dumping process. --- lisp/loadup.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lisp/loadup.el b/lisp/loadup.el index 4e68505c125..69691d13a38 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el @@ -530,7 +530,14 @@ lost after dumping"))) internal--text-quoting-flag exec-path process-environment - command-line-args noninteractive)))) + command-line-args noninteractive + ;; Any let-bound variables during + ;; dump process will be useless. + faces coding-systems coding-system-aliases + charsets charset-aliases unified-charsets + abbrev-tables abbrev-counter + abbrev-make-cmds abbrev-assign-cmds + cmds)))) ;; FIXME: Handle varaliases! (let ((v (default-value s))) (push `(set-default -- 2.39.5