summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2005-10-11 10:45:59 +0000
committerJuanma Barranquero <lekktu@gmail.com>2005-10-11 10:45:59 +0000
commit672283607eda6e5339b00b1246ded507f85ca603 (patch)
tree578f828972c0027ef99d7f61be5d327ddd03b524
parent7da3e5790be9f9e71d5007c012b3f4ff09c9c0b0 (diff)
downloademacs-672283607eda6e5339b00b1246ded507f85ca603.tar.gz
(update-directory-autoloads): Doc fix.
(autoload-print-form-outbuf): Add docstring.
-rw-r--r--lisp/emacs-lisp/autoload.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index 3cd6fe53bad..b14a556e02d 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -175,7 +175,8 @@ markers before we call `read'."
(goto-char (point-min))
(read (current-buffer))))))
-(defvar autoload-print-form-outbuf)
+(defvar autoload-print-form-outbuf nil
+ "Buffer which gets the output of `autoload-print-form'.")
(defun autoload-print-form (form)
"Print FORM such that `make-docfile' will find the docstrings.
@@ -492,7 +493,7 @@ Autoload section for %s is up to date."
(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) to 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.