Minor refactor & comment revision across the board
This commit is contained in:
parent
31c95042c3
commit
d297dc6934
7 changed files with 10 additions and 9 deletions
|
@ -313,7 +313,7 @@ them,and remove unnecessary `provide' statements or blank links."
|
|||
(unless (member pkg doom-autoload-excluded-packages)
|
||||
(let ((file (straight--autoloads-file pkg)))
|
||||
(when (file-exists-p file)
|
||||
(insert-file-contents-literally file)
|
||||
(insert-file-contents file)
|
||||
(save-excursion
|
||||
(while (re-search-forward "\\(?:\\_<load-file-name\\|#\\$\\)\\_>" nil t)
|
||||
;; `load-file-name' is meaningless in a concatenated
|
||||
|
|
|
@ -94,7 +94,7 @@ c) are not valid projectile projects."
|
|||
(let ((default-directory "~"))
|
||||
(when (cl-find-if #'projectile-file-exists-p
|
||||
projectile-project-root-files-bottom-up)
|
||||
(message "HOME appears to be a project. Disabling bottom-up root search.")
|
||||
(doom-log "HOME appears to be a project. Disabling bottom-up root search.")
|
||||
(setq projectile-project-root-files
|
||||
(append projectile-project-root-files-bottom-up
|
||||
projectile-project-root-files)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue