From b26980a4a4ee3853d0a811001d7ad45fa67d02a1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 3 Nov 2024 21:21:03 -0500 Subject: [PATCH] fix: reversed autoloads Autoloads were accidentally reversed in 114f996. For some packages, autoload order is signifcant (such as json-mode, which autoloads json-mode-auto-mode-list first, then modifies it in a later autoload). Fix: #8143 Amend: 114f99688cdf --- 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 c9821081f..fc3aa9685 100644 --- a/lisp/lib/autoloads.el +++ b/lisp/lib/autoloads.el @@ -194,7 +194,7 @@ non-nil, treat FILES as pre-generated autoload files instead." subautoloads)) (end-of-file))) (push `(let* ((load-file-name ,file) (load-true-file-name load-file-name)) - ,@(delq nil subautoloads)) + ,@(nreverse (delq nil subautoloads))) autoloads))))))) (provide 'doom-lib '(autoloads))