fixed nasty init error
This commit is contained in:
parent
116dadbac3
commit
ad1d88ba83
2 changed files with 3 additions and 2 deletions
1
init.el
1
init.el
|
@ -32,6 +32,7 @@
|
||||||
;; Boston, MA 02110-1301, USA.
|
;; Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
(require 'cl)
|
||||||
|
|
||||||
(message "%s" "Emacs Prelude is powering up. Be patient, Master.")
|
(message "%s" "Emacs Prelude is powering up. Be patient, Master.")
|
||||||
|
|
||||||
|
|
|
@ -45,12 +45,12 @@
|
||||||
yaml-mode yari zenburn-theme)
|
yaml-mode yari zenburn-theme)
|
||||||
"A list of packages to ensure are installed at launch.")
|
"A list of packages to ensure are installed at launch.")
|
||||||
|
|
||||||
(defun prelude-packages-installled-p ()
|
(defun prelude-packages-installed-p ()
|
||||||
(loop for p in prelude-packages
|
(loop for p in prelude-packages
|
||||||
when (package-installed-p p) do (return nil)
|
when (package-installed-p p) do (return nil)
|
||||||
finally (return t)))
|
finally (return t)))
|
||||||
|
|
||||||
(unless prelude-packages-installed-p
|
(unless (prelude-packages-installed-p)
|
||||||
;; check for new packages (package versions)
|
;; check for new packages (package versions)
|
||||||
(message "%s" "Emacs Prelude is now refreshing its package database...")
|
(message "%s" "Emacs Prelude is now refreshing its package database...")
|
||||||
(package-refresh-contents)
|
(package-refresh-contents)
|
||||||
|
|
Loading…
Reference in a new issue