]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't dump artifacts of the dump process.
authorKen Raeburn <raeburn@raeburn.org>
Mon, 13 Mar 2017 07:59:16 +0000 (03:59 -0400)
committerKen Raeburn <raeburn@raeburn.org>
Sat, 22 Jul 2017 08:36:22 +0000 (04:36 -0400)
* lisp/loadup.el: Exclude from dumping any of the variables that are
let-bound during the dumping process.

lisp/loadup.el

index 4e68505c1257fd8b0715e15ac4cf92a11e60ea24..69691d13a3891ae7ca534b4bd50371c9b077e02f 100644 (file)
@@ -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