From 1d3c2db274a23756a6abca69f74dc4a63016efff Mon Sep 17 00:00:00 2001 From: emiltoacs <3933677+emiltoacs@users.noreply.github.com> Date: Mon, 4 Nov 2024 17:31:11 +0000 Subject: [PATCH] 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 --- lisp/lib/autoloads.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/lib/autoloads.el b/lisp/lib/autoloads.el index 544eca056..2f1ba79ad 100644 --- a/lisp/lib/autoloads.el +++ b/lisp/lib/autoloads.el @@ -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)