diff options
| author | Kenichi Handa | 2008-11-27 08:02:28 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2008-11-27 08:02:28 +0000 |
| commit | 8c766df1aac85f5c654cd6bb1f735d1ec6f6afa6 (patch) | |
| tree | 2a8a18bfa075f80836f93a06b83f8ed407eac59a | |
| parent | f10fdbfd4275fdcc97be7d0c4134019f7d161334 (diff) | |
| download | emacs-8c766df1aac85f5c654cd6bb1f735d1ec6f6afa6.tar.gz emacs-8c766df1aac85f5c654cd6bb1f735d1ec6f6afa6.zip | |
Set inhibit-load-charset-map to t while preloading
files.
| -rw-r--r-- | lisp/loadup.el | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ | |||
| 46 | 46 | ||
| 47 | (message "Using load-path %s" load-path) | 47 | (message "Using load-path %s" load-path) |
| 48 | 48 | ||
| 49 | (if (or (member (nth 3 command-line-args) '("dump" "bootstrap")) | ||
| 50 | (member (nth 4 command-line-args) '("dump" "bootstrap"))) | ||
| 51 | ;; To reduce the size of dumped Emacs, we avoid making huge | ||
| 52 | ;; char-tables. | ||
| 53 | (setq inhibit-load-charset-map t)) | ||
| 54 | |||
| 49 | ;; We don't want to have any undo records in the dumped Emacs. | 55 | ;; We don't want to have any undo records in the dumped Emacs. |
| 50 | (set-buffer "*scratch*") | 56 | (set-buffer "*scratch*") |
| 51 | (setq buffer-undo-list t) | 57 | (setq buffer-undo-list t) |
| @@ -325,6 +331,7 @@ | |||
| 325 | (equal (nth 4 command-line-args) "bootstrap")) | 331 | (equal (nth 4 command-line-args) "bootstrap")) |
| 326 | (setcdr load-path nil)) | 332 | (setcdr load-path nil)) |
| 327 | 333 | ||
| 334 | (setq inhibit-load-charset-map nil) | ||
| 328 | (clear-charset-maps) | 335 | (clear-charset-maps) |
| 329 | (garbage-collect) | 336 | (garbage-collect) |
| 330 | 337 | ||