projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c7910e
)
Allow EXCLUDED-FILES in loaddefs-generate to be relative
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 13 Aug 2022 12:07:41 +0000
(14:07 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 13 Aug 2022 12:07:41 +0000
(14:07 +0200)
* lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate): Allow the
excluded files to be relative (bug#57144).
lisp/emacs-lisp/loaddefs-gen.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/loaddefs-gen.el
b/lisp/emacs-lisp/loaddefs-gen.el
index 6cb5d00782f2eca883ae460c76721b11f62ef757..31e1514193f778af27ee291e74863ea7c7530fd5 100644
(file)
--- a/
lisp/emacs-lisp/loaddefs-gen.el
+++ b/
lisp/emacs-lisp/loaddefs-gen.el
@@
-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