changeset 66015:4ad1dc6bc1e0

(update-directory-autoloads): Doc fix. (autoload-print-form-outbuf): Add docstring.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 11 Oct 2005 10:45:59 +0000
parents 3873fa9d3eb4
children ebc0ce620c66
files lisp/emacs-lisp/autoload.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/autoload.el	Tue Oct 11 08:32:08 2005 +0000
+++ b/lisp/emacs-lisp/autoload.el	Tue Oct 11 10:45:59 2005 +0000
@@ -175,7 +175,8 @@
 	(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 @@
 (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.