From b7d22a83c2ad41cd922ff0b6e7e7250fec287315 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Tue, 3 May 2011 11:33:05 -0400 Subject: [PATCH] * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989). --- lisp/ChangeLog | 4 ++++ lisp/emacs-lisp/autoload.el | 16 ++++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 73282f752b5..2c1ab1c7f6f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-05-03 Chong Yidong + + * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989). + 2011-05-03 Agustín Martín Domingo * textmodes/ispell.el (ispell-add-per-file-word-list): diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index 5a5d6b88a2d..dffbf3418ca 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -35,10 +35,18 @@ (eval-when-compile (require 'cl)) (defvar generated-autoload-file "loaddefs.el" - "*File \\[update-file-autoloads] puts autoloads into. -A `.el' file can set this in its local variables section to make its -autoloads go somewhere else. The autoload file is assumed to contain a -trailer starting with a FormFeed character.") + "File \\[update-file-autoloads] puts autoloads into. +A Lisp file can set this in its local variables section to make +its autoloads go somewhere else. + +If this is a relative file name, the directory is determined as +follows: + - If a Lisp file defined `generated-autoload-file' as a + file-local variable, use its containing directory. + - Otherwise use the \"lisp\" subdirectory of `source-directory'. + +The autoload file is assumed to contain a trailer starting with a +FormFeed character.") ;;;###autoload (put 'generated-autoload-file 'safe-local-variable 'stringp) -- 2.39.5