aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2023-01-07 14:43:04 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2023-01-07 14:43:04 +0100
commitcee20442b3dddf5cf0fdeb12409d024e4453a8cb (patch)
treef9b60ace6c7c9f2e4675bb373e3468ae07a0117b
parent2256db9958ebfc3adf0855f07ca9efd8bbf484bd (diff)
compat-28: Drop make-directory-autoloads
This command has been added in 28.1 and deprecated in 29.1. It was untested in compat.el all along.
-rw-r--r--compat-28.el23
-rw-r--r--compat.texi6
2 files changed, 0 insertions, 29 deletions
diff --git a/compat-28.el b/compat-28.el
index d4bf811..ce41338 100644
--- a/compat-28.el
+++ b/compat-28.el
@@ -779,29 +779,6 @@ itself will be used instead as the function argument."
'keymap button-map
'action callback))
-;;;; Defined in autoload.el
-
-(defvar generated-autoload-file)
-
-(compat-defun make-directory-autoloads (dir output-file) ;; <UNTESTED>
- "Update autoload definitions for Lisp files in the directories DIRS.
-DIR can be either a single directory or a list of
-directories. (The latter usage is discouraged.)
-
-The autoloads will be written to OUTPUT-FILE. If any Lisp file
-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."
- (let ((generated-autoload-file output-file))
- ;; We intentionally don't sharp-quote
- ;; `update-directory-autoloads', because it was deprecated in
- ;; Emacs 28 and we don't want to trigger the byte compiler for
- ;; newer versions.
- (apply 'update-directory-autoloads
- (if (listp dir) dir (list dir)))))
-
;;;; Defined in time-data.el
(compat-defun decoded-time-period (time) ;; <OK>
diff --git a/compat.texi b/compat.texi
index 166d1d9..5ee16cf 100644
--- a/compat.texi
+++ b/compat.texi
@@ -1785,12 +1785,6 @@ If non-@code{nil}, the argument @var{help-echo} will be used to set the
@code{help-echo} text property.
@end defun
-@c based on lisp/emacs-lisp/autoload.el
-@defun make-directory-autoloads dir output-file
-Parse and search the directory @var{dir} for autoload definitions, and
-write the processed results to the file @var{output-file}.
-@end defun
-
@c based on src/xfaces.c
@defun color-values-from-color-spec spec
Convert the textual color specification @var{spec} to a color triple