diff options
author | Richard M. Stallman <rms@gnu.org> | 2003-05-04 13:08:58 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2003-05-04 13:08:58 +0000 |
commit | 56eebc2963f5f714860e0beb28bf8bf4a9a9a5e9 (patch) | |
tree | b5424fd23eff5a050758830f674a759c40e99f44 /lisp/emacs-lisp | |
parent | 318ab85c81884690af4f13424e433a12157c1d93 (diff) | |
download | emacs-56eebc2963f5f714860e0beb28bf8bf4a9a9a5e9.tar.gz emacs-56eebc2963f5f714860e0beb28bf8bf4a9a9a5e9.tar.bz2 emacs-56eebc2963f5f714860e0beb28bf8bf4a9a9a5e9.zip |
(update-directory-autoloads): Renamed from
update-autoloads-from-directories.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/autoload.el | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index 21af0d866ea..4b3a5b2dbfe 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -1,4 +1,4 @@ -;;; autoload.el --- maintain autoloads in loaddefs.el +;; autoload.el --- maintain autoloads in loaddefs.el ;; Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2001 ;; Free Software Foundation, Inc. @@ -475,10 +475,16 @@ Autoload section for %s is up to date." (delete-region begin (point))) ;;;###autoload -(defun update-autoloads-from-directories (&rest dirs) +(defun update-directory-autoloads (&rest dirs) "\ Update loaddefs.el with all the current autoloads from DIRS, and no old ones. -This uses `update-file-autoloads' (which see) do its work." +This uses `update-file-autoloads' (which see) do its work. +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." (interactive "DUpdate autoloads from directory: ") (let* ((files-re (let ((tmp nil)) (dolist (suf load-suffixes |