comparison lisp/emacs-lisp/autoload.el @ 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 5b1a238fcbb4
children 80aac6382ded 5e2d3828e89f
comparison
equal deleted inserted replaced
66014:3873fa9d3eb4 66015:4ad1dc6bc1e0
173 (while (search-forward generate-autoload-section-continuation nil t) 173 (while (search-forward generate-autoload-section-continuation nil t)
174 (replace-match " ")) 174 (replace-match " "))
175 (goto-char (point-min)) 175 (goto-char (point-min))
176 (read (current-buffer)))))) 176 (read (current-buffer))))))
177 177
178 (defvar autoload-print-form-outbuf) 178 (defvar autoload-print-form-outbuf nil
179 "Buffer which gets the output of `autoload-print-form'.")
179 180
180 (defun autoload-print-form (form) 181 (defun autoload-print-form (form)
181 "Print FORM such that `make-docfile' will find the docstrings. 182 "Print FORM such that `make-docfile' will find the docstrings.
182 The variable `autoload-print-form-outbuf' specifies the buffer to 183 The variable `autoload-print-form-outbuf' specifies the buffer to
183 put the output in." 184 put the output in."
490 491
491 ;;;###autoload 492 ;;;###autoload
492 (defun update-directory-autoloads (&rest dirs) 493 (defun update-directory-autoloads (&rest dirs)
493 "\ 494 "\
494 Update loaddefs.el with all the current autoloads from DIRS, and no old ones. 495 Update loaddefs.el with all the current autoloads from DIRS, and no old ones.
495 This uses `update-file-autoloads' (which see) do its work. 496 This uses `update-file-autoloads' (which see) to do its work.
496 In an interactive call, you must give one argument, the name 497 In an interactive call, you must give one argument, the name
497 of a single directory. In a call from Lisp, you can supply multiple 498 of a single directory. In a call from Lisp, you can supply multiple
498 directories as separate arguments, but this usage is discouraged. 499 directories as separate arguments, but this usage is discouraged.
499 500
500 The function does NOT recursively descend into subdirectories of the 501 The function does NOT recursively descend into subdirectories of the