mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
fix: doom-autoloads--scan: s/pfile/file
This typo is responsible of a startup error `delayed-warnings-hooks void-variable warning-minimum-log-level`. Fix: #8144
This commit is contained in:
@ -182,7 +182,7 @@ non-nil, treat FILES as pre-generated autoload files instead."
|
||||
;; Fixup the special #$ reader form and throw away comments.
|
||||
(while (re-search-forward "#\\$\\|^;\\(.*\n\\)" nil 'move)
|
||||
(unless (ppss-string-terminator (save-match-data (syntax-ppss)))
|
||||
(replace-match (if (match-end 1) "" pfile) t t))))
|
||||
(replace-match (if (match-end 1) "" file) t t))))
|
||||
(let ((load-file-name file)
|
||||
(load-path
|
||||
(append (list doom-user-dir)
|
||||
|
Reference in New Issue
Block a user