diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2002-03-18 20:21:56 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2002-03-18 20:21:56 +0000 |
commit | 86db31d56a1a2507b210f5acb2b918745cef074e (patch) | |
tree | a09d9c0feab36bdabbddb304ffecb3def8faeb0c /lisp/loadup.el | |
parent | 44c887be5c7dc710469e0d00d235a9270945baad (diff) | |
download | emacs-86db31d56a1a2507b210f5acb2b918745cef074e.tar.gz |
("emacs-lisp/backquote"): Load earlier.
("international/ucs-tables"): Load and turn on
unify-8859-on-encoding-mode unconditionally.
(emacs-version): Use `defconst' rather than `setq'.
Diffstat (limited to 'lisp/loadup.el')
-rw-r--r-- | lisp/loadup.el | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el index 2fe4330c9ec..871d8eb19a7 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el @@ -42,10 +42,11 @@ (message "Using load-path %s" load-path) -;;; We don't want to have any undo records in the dumped Emacs. +;; We don't want to have any undo records in the dumped Emacs. (buffer-disable-undo "*scratch*") (load "byte-run") +(load "emacs-lisp/backquote") (load "subr") ;; We specify .el in case someone compiled version.el by mistake. @@ -53,7 +54,6 @@ (load "widget") (load "custom") -(load "emacs-lisp/backquote") (load "map-ynp") (load "env") (load "cus-start") @@ -112,6 +112,10 @@ (load "language/misc-lang") (load "language/utf-8-lang") (load "language/georgian") + +(load "international/ucs-tables") +(unify-8859-on-encoding-mode 1) + (update-coding-systems-internal) (load "indent") @@ -205,11 +209,10 @@ (versions (mapcar (function (lambda (name) (string-to-int (substring name (length base))))) files))) - (setq emacs-version (format "%s.%d" - emacs-version - (if versions - (1+ (apply 'max versions)) - 1))))) + ;; `emacs-version' is a constant, so we shouldn't change it with `setq'. + (defconst emacs-version + (format "%s.%d" + emacs-version (if versions (1+ (apply 'max versions)) 1))))) ;; Note: all compiled Lisp files loaded above this point ;; must be among the ones parsed by make-docfile @@ -331,4 +334,9 @@ (eval top-level) + +;;; Local Variables: +;;; no-byte-compile: t +;;; no-update-autoloads: t +;;; End: ;;; loadup.el ends here |