Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8c766df1
Commit
8c766df1
authored
Nov 27, 2008
by
Kenichi Handa
Browse files
Set inhibit-load-charset-map to t while preloading
files.
parent
f10fdbfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
lisp/loadup.el
lisp/loadup.el
+7
-0
No files found.
lisp/loadup.el
View file @
8c766df1
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment