comparison lisp/emacs-lisp/autoload.el @ 3774:3b0cb275ca29

(generate-autoload-cookie, update-autoloads-here): Doc fixes.
author Roland McGrath <roland@gnu.org>
date Wed, 16 Jun 1993 22:08:23 +0000
parents 86d5500624d5
children d6f56b9586f7
comparison
equal deleted inserted replaced
3773:c8af104daa60 3774:3b0cb275ca29
49 (eq (car-safe (car form)) 'interactive) 49 (eq (car-safe (car form)) 'interactive)
50 (if macrop (list 'quote 'macro) nil))) 50 (if macrop (list 'quote 'macro) nil)))
51 nil))) 51 nil)))
52 52
53 (defconst generate-autoload-cookie ";;;###autoload" 53 (defconst generate-autoload-cookie ";;;###autoload"
54 "Magic comment that tells \\[update-file-autoloads] 54 "Magic comment indicating the following form should be autoloaded.
55 to make the following form into an autoload. This string should be 55 Used by \\[update-file-autoloads]. This string should be
56 meaningless to Lisp (e.g., a comment). 56 meaningless to Lisp (e.g., a comment).
57 57
58 This string is used: 58 This string is used:
59 59
60 ;;;###autoload 60 ;;;###autoload
275 (setq existing-buffer (get-file-buffer file))) 275 (setq existing-buffer (get-file-buffer file)))
276 (kill-buffer existing-buffer))))) 276 (kill-buffer existing-buffer)))))
277 277
278 ;;;###autoload 278 ;;;###autoload
279 (defun update-autoloads-here () 279 (defun update-autoloads-here ()
280 "Update the sections of the current buffer generated by 280 "\
281 \\[update-file-autoloads]." 281 Update sections of the current buffer generated by \\[update-file-autoloads]."
282 (interactive) 282 (interactive)
283 (let ((generated-autoload-file (buffer-file-name))) 283 (let ((generated-autoload-file (buffer-file-name)))
284 (save-excursion 284 (save-excursion
285 (goto-char (point-min)) 285 (goto-char (point-min))
286 (while (search-forward generate-autoload-section-header nil t) 286 (while (search-forward generate-autoload-section-header nil t)