Minor refactor & comment revision across the board

This commit is contained in:
Henrik Lissner 2019-10-03 23:33:59 -04:00
parent 31c95042c3
commit d297dc6934
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
7 changed files with 10 additions and 9 deletions

View file

@ -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

View file

@ -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)