Add a basic version check
This commit is contained in:
parent
98e453c640
commit
b1caa73aa3
1 changed files with 3 additions and 0 deletions
3
init.el
3
init.el
|
@ -38,6 +38,9 @@
|
||||||
|
|
||||||
(message "Prelude is powering up... Be patient, Master %s!" current-user)
|
(message "Prelude is powering up... Be patient, Master %s!" current-user)
|
||||||
|
|
||||||
|
(when (version< emacs-version "24.1")
|
||||||
|
(error "Prelude requires at least GNU Emacs 24.1"))
|
||||||
|
|
||||||
(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)
|
||||||
|
|
Loading…
Reference in a new issue