]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve documentation of 'safe-local-variable' property
authorEli Zaretskii <eliz@gnu.org>
Sat, 1 Jun 2019 07:28:30 +0000 (10:28 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 1 Jun 2019 07:28:30 +0000 (10:28 +0300)
* doc/lispref/variables.texi (File Local Variables): Document
how to define 'safe-local-variable' properties for built-in
variables.

doc/lispref/variables.texi

index 153a80a44434cfc5213bed5b76de3ec3e984e251..1a1860df307e3210feb170fb373590e4d12119d8 100644 (file)
@@ -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