Improve version check
This commit is contained in:
parent
0b4d3ab39e
commit
05c5a52d22
1 changed files with 1 additions and 1 deletions
2
init.el
2
init.el
|
@ -39,7 +39,7 @@
|
||||||
(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")
|
(when (version< emacs-version "24.1")
|
||||||
(error "Prelude requires at least GNU Emacs 24.1"))
|
(error "Prelude requires at least GNU Emacs 24.1, but you're running %s" emacs-version))
|
||||||
|
|
||||||
(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.")
|
||||||
|
|
Loading…
Reference in a new issue