Fix void-variable error (let -> let*)

This commit is contained in:
Henrik Lissner 2018-05-25 01:13:28 +02:00
parent 59f70c2a87
commit 11705d0920
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -465,7 +465,7 @@ added, if the file exists."
:size (if modules (length modules) 100) :size (if modules (length modules) 100)
:rehash-threshold 1.0))) :rehash-threshold 1.0)))
(when (null modules) (when (null modules)
(let ((init-file (expand-file-name "init.el" doom-private-dir)) (let* ((init-file (expand-file-name "init.el" doom-private-dir))
(short-init-file (abbreviate-file-name init-file))) (short-init-file (abbreviate-file-name init-file)))
(if (not (file-exists-p init-file)) (if (not (file-exists-p init-file))
(warn "%s doesn't exist" short-init-file) (warn "%s doesn't exist" short-init-file)