* emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
authorChong Yidong <cyd@stupidchicken.com>
Tue, 3 May 2011 15:33:05 +0000 (11:33 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Tue, 3 May 2011 15:33:05 +0000 (11:33 -0400)
lisp/ChangeLog
lisp/emacs-lisp/autoload.el

index 73282f7..2c1ab1c 100644 (file)
@@ -1,3 +1,7 @@
+2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
+
+       * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
+
 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
 
        * textmodes/ispell.el (ispell-add-per-file-word-list):
index 5a5d6b8..dffbf34 100644 (file)
 (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)