1
0
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:
Luc Teirlinck 2006-02-27 01:58:04 +00:00
parent dd4451e037
commit de10856c9d

View File

@ -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