]> code.delx.au - gnu-emacs/commitdiff
(update-directory-autoloads): Renamed from
authorRichard M. Stallman <rms@gnu.org>
Sun, 4 May 2003 13:08:58 +0000 (13:08 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 4 May 2003 13:08:58 +0000 (13:08 +0000)
update-autoloads-from-directories.

lisp/ChangeLog
lisp/emacs-lisp/autoload.el

index 04c9f3596d76e0609cf900fdd68149809d10dea9..fef67eea92c544946d31ab38bcfbbeef2a41ca2d 100644 (file)
@@ -7,6 +7,9 @@
 
 2003-05-03  Richard M. Stallman  <rms@gnu.org>
 
+       * emacs-lisp/autoload.el (update-directory-autoloads): Renamed from
+       update-autoloads-from-directories.
+
        * progmodes/cperl-mode.el (cperl-nonoverridable-face): Doc fix.
 
        * mail/sendmail.el (mail-dont-send, mail-bury): Make ARG optional.
index 21af0d866ea0f3bef5bd498655cab6a6b72542a3..4b3a5b2dbfe2a57cf3413f94902cace35a783c7f 100644 (file)
@@ -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