mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-08 15:23:35 -05:00
Error of private init.el doesn't exist (it really should!)
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user