]> git.eshelyaron.com Git - emacs.git/commitdiff
Set inhibit-load-charset-map to t while preloading
authorKenichi Handa <handa@m17n.org>
Thu, 27 Nov 2008 08:02:28 +0000 (08:02 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 27 Nov 2008 08:02:28 +0000 (08:02 +0000)
files.

lisp/loadup.el

index 6dd2fc44fded0cf4a92565f22bc9799f552a8b71..94a335d48867a08447e995d92877e2cd87b02739 100644 (file)
 
 (message "Using load-path %s" load-path)
 
+(if (or (member (nth 3 command-line-args) '("dump" "bootstrap"))
+       (member (nth 4 command-line-args) '("dump" "bootstrap")))
+    ;; To reduce the size of dumped Emacs, we avoid making huge
+    ;; char-tables.
+    (setq inhibit-load-charset-map t))
+
 ;; We don't want to have any undo records in the dumped Emacs.
 (set-buffer "*scratch*")
 (setq buffer-undo-list t)
        (equal (nth 4 command-line-args) "bootstrap"))
     (setcdr load-path nil))
 
+(setq inhibit-load-charset-map nil)
 (clear-charset-maps)
 (garbage-collect)