1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-21 15:40:59 -08:00

Fix previous loaddefs-gen fix

This commit is contained in:
Lars Ingebrigtsen 2022-10-18 13:17:52 +02:00
parent 86581698ac
commit 6cabef8799

View file

@ -738,13 +738,12 @@ rules for built-in packages and excluded files."
(expand-file-name "emacs-lisp/loaddefs-gen.el" lisp-directory)
output-file)))
(let ((lisp-mode-autoload-regexp
;; Avoid autoloads detection from loaddefs-gen.
(concat "^;;;###\\(\\(noexist\\)-\\)?\\(theme" "-autoload\\)")))
"^;;;###\\(\\(noexist\\)-\\)?\\(theme-autoload\\)"))
(loaddefs-generate
(expand-file-name "../etc/themes/" lisp-directory)
(expand-file-name "theme-loaddefs.el" lisp-directory))))
;;;###autoload (load "theme-loaddefs.el")
;;;###autoload (load "theme-loaddefs.el" t)
(provide 'loaddefs-gen)