Function: update-directory-autoloads
update-directory-autoloads is an autoloaded, interactive and
byte-compiled function defined in autoload.el.gz.
This command is obsolete since 29.1; use loaddefs-generate instead.
Signature
(update-directory-autoloads &rest DIRS)
Documentation
Update autoload definitions for Lisp files in the directories DIRS.
In an interactive call, you must give one argument, the name of a single directory. In a call from Lisp, you can supply multiple directories as separate arguments, but this usage is discouraged.
The function does NOT recursively descend into subdirectories of the directory or directories specified.
In an interactive call, prompt for a default output file for the
autoload definitions. When called from Lisp, use the existing
value of generated-autoload-file. If any Lisp file binds
generated-autoload-file as a file-local variable, write its
autoloads into the specified file instead.
Probably introduced at or before Emacs version 24.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/autoload.el.gz
;;;###autoload
(defun update-directory-autoloads (&rest dirs)
"Update autoload definitions for Lisp files in the directories DIRS.
In an interactive call, you must give one argument, the name of a
single directory. In a call from Lisp, you can supply multiple
directories as separate arguments, but this usage is discouraged.
The function does NOT recursively descend into subdirectories of the
directory or directories specified.
In an interactive call, prompt for a default output file for the
autoload definitions. When called from Lisp, use the existing
value of `generated-autoload-file'. If any Lisp file binds
`generated-autoload-file' as a file-local variable, write its
autoloads into the specified file instead."
(declare (obsolete loaddefs-generate "29.1"))
(interactive "DUpdate autoloads from directory: ")
(make-directory-autoloads
dirs
(if (called-interactively-p 'interactive)
(read-file-name "Write autoload definitions to file: ")
generated-autoload-file)))