emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-26 d8a6d82: Improve documentation of 'safe-local-var


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 d8a6d82: Improve documentation of 'safe-local-variable' property
Date: Sat, 1 Jun 2019 03:29:29 -0400 (EDT)

branch: emacs-26
commit d8a6d82c4d34286b377fd7bddd4be0116e8dd4b9
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Improve documentation of 'safe-local-variable' property
    
    * doc/lispref/variables.texi (File Local Variables): Document
    how to define 'safe-local-variable' properties for built-in
    variables.
---
 doc/lispref/variables.texi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi
index 153a80a..1a1860d 100644
--- a/doc/lispref/variables.texi
+++ b/doc/lispref/variables.texi
@@ -1847,6 +1847,11 @@ variables have @code{safe-local-variable} properties; 
these include
 For boolean-valued variables that are safe, use @code{booleanp} as the
 property value.
 
+  If you want to define @code{safe-local-variable} properties for
+variables defined in C source code, add the names and the properties
+of those variables to the list in the ``Safe local variables'' section
+of @file{files.el}.
+
 @cindex autoload cookie, and safe values of variable
   When defining a user option using @code{defcustom}, you can set its
 @code{safe-local-variable} property by adding the arguments



reply via email to

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