;; The functions in this file have been superseded by loaddefs-gen.el.
+;; Note: When removing this file, also remove the references to
+;; `make-directory-autoloads' and `update-directory-autoloads' in
+;; subr.el.
+
;;; Code:
(require 'lisp-mode) ;for `doc-string-elt' properties.
The function does NOT recursively descend into subdirectories of the
directory or directories specified."
+ (declare (obsolete loaddefs-generate "29.1"))
(interactive "DUpdate autoloads from directory: \nFWrite to file: ")
(let* ((files-re (let ((tmp nil))
(dolist (suf (get-load-suffixes))
(let ((args command-line-args-left))
(batch-update-autoloads--summary args)
(setq command-line-args-left nil)
- (make-directory-autoloads args generated-autoload-file)))
+ (with-suppressed-warnings ((obsolete make-directory-autoloads))
+ (make-directory-autoloads args generated-autoload-file))))
(provide 'autoload)
(define-obsolete-function-alias 'user-original-login-name
#'user-login-name "28.1")
+;; These are in obsolete/autoload.el, but are commonly used by
+;; third-party scripts that assume that they exist without requiring
+;; autoload. These should be removed when obsolete/autoload.el is
+;; removed.
+(autoload 'make-directory-autoloads "autoload" nil t)
+(autoload 'update-directory-autoloads "autoload" nil t)
+
\f
;;;; Hook manipulation functions.