diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-08-12 09:49:35 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-08-12 09:49:35 +0300 |
commit | a99ea4b7616025cf78c2f6bf69bc8e5cafb730b7 (patch) | |
tree | d735a858581f89fc6856b8baac2d26692d953d3a /lisp/emacs-lisp | |
parent | 687fcc2c40d693bbe342d938e37a4c9a245a1b02 (diff) | |
download | emacs-a99ea4b7616025cf78c2f6bf69bc8e5cafb730b7.tar.gz emacs-a99ea4b7616025cf78c2f6bf69bc8e5cafb730b7.tar.bz2 emacs-a99ea4b7616025cf78c2f6bf69bc8e5cafb730b7.zip |
; Fix documentation of 'loaddefs-generate' (bug#57144)
* lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate): Doc fix.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/loaddefs-gen.el | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/lisp/emacs-lisp/loaddefs-gen.el b/lisp/emacs-lisp/loaddefs-gen.el index 3b329357ad9..0c9bc4832b4 100644 --- a/lisp/emacs-lisp/loaddefs-gen.el +++ b/lisp/emacs-lisp/loaddefs-gen.el @@ -519,15 +519,21 @@ binds `generated-autoload-file' as a file-local variable, write its autoloads into the specified file instead. The function does NOT recursively descend into subdirectories of the -directory or directories specified. +directory or directories specified by DIRS. -If EXTRA-DATA, include this string at the start of the generated -file. This will also force generation of OUTPUT-FILE even if -there are no autoloads to put into the file. +Optional argument EXCLUDED-FILES, if non-nil, should be a list of +files, such as preloaded files, whose autoloads should not be written +to OUTPUT-FILE. -If INCLUDE-PACKAGE-VERSION, include package version data. +If EXTRA-DATA is non-nil, it should be a string; include that string +at the beginning of the generated file. This will also force the +generation of OUTPUT-FILE even if there are no autoloads to put into +that file. -If GENERATE-FULL, don't update, but regenerate all the loaddefs files." +If INCLUDE-PACKAGE-VERSION is non-nil, include package version data. + +If GENERATE-FULL is non-nil, regenerate all the loaddefs files anew, +instead of just updating them with the new/changed autoloads." (let* ((files-re (let ((tmp nil)) (dolist (suf (get-load-suffixes)) ;; We don't use module-file-suffix below because |