From: Kenichi Handa Date: Thu, 27 Nov 2008 08:02:28 +0000 (+0000) Subject: Set inhibit-load-charset-map to t while preloading X-Git-Tag: emacs-pretest-23.0.90~1477 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8c766df1aac85f5c654cd6bb1f735d1ec6f6afa6;p=emacs.git Set inhibit-load-charset-map to t while preloading files. --- diff --git a/lisp/loadup.el b/lisp/loadup.el index 6dd2fc44fde..94a335d4886 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el @@ -46,6 +46,12 @@ (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) @@ -325,6 +331,7 @@ (equal (nth 4 command-line-args) "bootstrap")) (setcdr load-path nil)) +(setq inhibit-load-charset-map nil) (clear-charset-maps) (garbage-collect)