aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lispref/variables.texi19
1 files changed, 15 insertions, 4 deletions
diff --git a/lispref/variables.texi b/lispref/variables.texi
index 8d3e0bb5c25..56732d22db6 100644
--- a/lispref/variables.texi
+++ b/lispref/variables.texi
@@ -1654,10 +1654,21 @@ This section describes the functions and variables that affect
1654processing of file local variables. 1654processing of file local variables.
1655 1655
1656@defopt enable-local-variables 1656@defopt enable-local-variables
1657This variable controls whether to process file local variables. A 1657This variable controls whether to process file local variables.
1658value of @code{t} means to process them, querying the user if unsafe 1658The possible values are:
1659variables are encountered; @code{nil} means ignore them; anything else 1659
1660means to query the user for each file. The default value is @code{t}. 1660@table @asis
1661@item @code{t} (the default)
1662Set the safe variables, and query (once) about any unsafe variables.
1663@item @code{:safe}
1664Set only the safe variables and do not query.
1665@item @code{:all}
1666Set all the variables and do not query.
1667@item @code{nil}
1668Don't set any variables.
1669@item anything else
1670Query (once) about all the variables.
1671@end table
1661@end defopt 1672@end defopt
1662 1673
1663@defun hack-local-variables &optional mode-only 1674@defun hack-local-variables &optional mode-only