mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(update-directory-autoloads): Use `get-load-suffixes' instead of
`load-suffixes'.
This commit is contained in:
parent
dd4451e037
commit
de10856c9d
@ -512,7 +512,7 @@ The function does NOT recursively descend into subdirectories of the
|
||||
directory or directories specified."
|
||||
(interactive "DUpdate autoloads from directory: ")
|
||||
(let* ((files-re (let ((tmp nil))
|
||||
(dolist (suf load-suffixes
|
||||
(dolist (suf (get-load-suffixes)
|
||||
(concat "^[^=.].*" (regexp-opt tmp t) "\\'"))
|
||||
(unless (string-match "\\.elc" suf) (push suf tmp)))))
|
||||
(files (apply 'nconc
|
||||
|
Loading…
Reference in New Issue
Block a user