(update-directory-autoloads): Ignore files
whose names start with =. Bind enable-local-eval to nil.
This commit is contained in:
parent
5ece1728e2
commit
9f4b7963c9
1 changed files with 3 additions and 2 deletions
|
@ -354,8 +354,9 @@ file \"%s\") doesn't exist. Remove its autoload section? "
|
|||
(defun update-directory-autoloads (dir)
|
||||
"Run \\[update-file-autoloads] on each .el file in DIR."
|
||||
(interactive "DUpdate autoloads for directory: ")
|
||||
(mapcar 'update-file-autoloads
|
||||
(directory-files dir t "\\.el$"))
|
||||
(let ((enable-local-eval nil))
|
||||
(mapcar 'update-file-autoloads
|
||||
(directory-files dir t "^[^=].*\\.el$")))
|
||||
(if (interactive-p)
|
||||
(save-excursion
|
||||
(set-buffer (find-file-noselect generated-autoload-file))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue