1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 23:10:47 -08:00

Allow EXCLUDED-FILES in loaddefs-generate to be relative

* lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate): Allow the
excluded files to be relative (bug#57144).
This commit is contained in:
Lars Ingebrigtsen 2022-08-13 14:07:41 +02:00
parent 1c7910ea6e
commit 2bbb007e16

View file

@ -551,6 +551,11 @@ instead of just updating them with the new/changed autoloads."
(updating (and (file-exists-p output-file) (not generate-full)))
(defs nil))
;; Allow the excluded files to be relative.
(setq excluded-files
(mapcar (lambda (file) (expand-file-name file dir))
excluded-files))
;; Collect all the autoload data.
(let ((progress (make-progress-reporter
(byte-compile-info