Improve documentation of 'enable-local-variables' in Emacs manual

* doc/emacs/custom.texi (Safe File Variables): Document ':all'.
(Bug#64621)
This commit is contained in:
YugaEgo 2023-07-14 18:49:36 +03:00 committed by Eli Zaretskii
parent eb7c45ca43
commit b0181dafb9

View file

@ -1349,9 +1349,11 @@ be permanently ignored, customize @code{ignored-local-variable-values}.
way Emacs processes local variables. Its default value is @code{t}, way Emacs processes local variables. Its default value is @code{t},
which specifies the behavior described above. If it is @code{nil}, which specifies the behavior described above. If it is @code{nil},
Emacs simply ignores all file local variables. @code{:safe} means use Emacs simply ignores all file local variables. @code{:safe} means use
only the safe values and ignore the rest. Any other value says to only the safe values and ignore the rest. @code{:all} instructs Emacs
query you about each file that has local variables, without trying to to set all file local variables (we advise not to use it permanently).
determine whether the values are known to be safe. Any other value says to query you about each file that has local
variables, without trying to determine whether the values are known to
be safe.
@vindex enable-local-eval @vindex enable-local-eval
@vindex safe-local-eval-forms @vindex safe-local-eval-forms