emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 c9c1add: * doc/lispref/variables.texi (File Local


From: Stefan Monnier
Subject: [Emacs-diffs] emacs-26 c9c1add: * doc/lispref/variables.texi (File Local Variables): Fix last change
Date: Sat, 13 Jan 2018 17:02:56 -0500 (EST)

branch: emacs-26
commit c9c1add6a4df53e87418c27ccd6f4fbc41a42399
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * doc/lispref/variables.texi (File Local Variables): Fix last change
---
 doc/lispref/variables.texi | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi
index fe69b7b..8f8e830 100644
--- a/doc/lispref/variables.texi
+++ b/doc/lispref/variables.texi
@@ -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})



reply via email to

[Prev in Thread] Current Thread [Next in Thread]