[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This section describes the functions and variables that affect processing of local variables lists in files.
t
means process the local variables lists
unconditionally; nil
means ignore them; anything else means ask
the user what to do for each file. The default value is t
.
enable-local-variables
has its effect here.
The argument force usually comes from the argument find-file
given to normal-mode
.
If a file local variable list could specify the a function that will be called later, or an expression that will be executed later, simply visiting a file could take over your Emacs. To prevent this, Emacs takes care not to allow local variable lists to set such variables.
For one thing, any variable whose name ends in `-function', `-functions', `-hook', `-hooks', `-form', `-forms', `-program', `-command' or `-predicate' cannot be set in a local variable list. In general, you should use such a name whenever it is appropriate for the variable's meaning.
In addition, any variable whose name has a non-nil
risky-local-variable
property is also ignored. So are
all variables listed in ignored-local-variables
:
The `Eval:' "variable" is also a potential loophole, so Emacs normally asks for confirmation before handling it.
t
means process them
unconditionally; nil
means ignore them; anything else means ask
the user what to do for each file. The default value is maybe
.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |