Error of private init.el doesn't exist (it really should!)
This commit is contained in:
parent
7f31f4a1bd
commit
2b8efd6783
1 changed files with 1 additions and 1 deletions
|
@ -468,7 +468,7 @@ added, if the file exists."
|
|||
(let* ((init-file (expand-file-name "init.el" doom-private-dir))
|
||||
(short-init-file (abbreviate-file-name init-file)))
|
||||
(if (not (file-exists-p init-file))
|
||||
(warn "%s doesn't exist" short-init-file)
|
||||
(error "%s doesn't exist" short-init-file)
|
||||
(with-temp-buffer
|
||||
(insert-file-contents init-file)
|
||||
(when (re-search-forward "^\\s-*\\((doom! \\)" nil t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue