]> git.eshelyaron.com Git - emacs.git/commitdiff
* doc/lispref/variables.texi (File Local Variables): Fix last change
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 13 Jan 2018 22:02:50 +0000 (17:02 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 13 Jan 2018 22:02:50 +0000 (17:02 -0500)
doc/lispref/variables.texi

index fe69b7b8e7bcec6c1a67f4602874f1c89a2ff2fe..8f8e8302c4510f58d55d861e40570da22db4af6a 100644 (file)
@@ -1816,9 +1816,10 @@ property value.
 @code{safe-local-variable} property by adding the arguments
 @code{:safe @var{function}} to @code{defcustom} (@pxref{Variable
 Definitions}).  However, a safety predicate defined using @code{:safe}
-will only be known once the byte-compiler is loaded.  As an
-alternative, you can use the autoload cookie (@pxref{Autoload}) to
-assign the option its safety predicate, like this:
+will only be known once the package that contains the @code{defcustom}
+is loaded, which is often too late.  As an alternative, you can use
+the autoload cookie (@pxref{Autoload}) to assign the option its safety
+predicate, like this:
 
 @lisp
 ;;;###autoload (put '@var{var} 'safe-local-variable '@var{pred})