Always load newest byte code

This commit is contained in:
Bozhidar Batsov 2014-04-03 15:43:51 +03:00
parent 05c5a52d22
commit bdf1d12df7

View file

@ -41,6 +41,9 @@
(when (version< emacs-version "24.1") (when (version< emacs-version "24.1")
(error "Prelude requires at least GNU Emacs 24.1, but you're running %s" emacs-version)) (error "Prelude requires at least GNU Emacs 24.1, but you're running %s" emacs-version))
;; Always load newest byte code
(setq load-prefer-newer t)
(defvar prelude-dir (file-name-directory load-file-name) (defvar prelude-dir (file-name-directory load-file-name)
"The root dir of the Emacs Prelude distribution.") "The root dir of the Emacs Prelude distribution.")
(defvar prelude-core-dir (expand-file-name "core" prelude-dir) (defvar prelude-core-dir (expand-file-name "core" prelude-dir)