Mercurial > emacs
changeset 83894:9f791baf230d
(Safe File Variables): Clarify `!' and risky variables.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 05 Sep 2007 03:22:28 +0000 |
parents | ee472eb3fcc3 |
children | 9ed352eb80b4 |
files | man/custom.texi |
diffstat | 1 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/man/custom.texi Wed Sep 05 00:15:43 2007 +0000 +++ b/man/custom.texi Wed Sep 05 03:22:28 2007 +0000 @@ -1226,10 +1226,13 @@ @cindex risky variable Some variables, such as @code{load-path}, are considered particularly @dfn{risky}: there is seldom any reason to specify them -as local variables, and changing them can be dangerous. Even if you -enter @kbd{!} at the confirmation prompt, Emacs will not record any -values as safe for these variables. If you really want to record safe -values for these variables, do it directly by customizing +as local variables, and changing them can be dangerous. If a file +contains only risky local variables, Emacs neither offers nor accepts +@kbd{!} as input at the confirmation prompt. If some of the local +variables in a file are risky, and some are only potentially unsafe, you +can enter @kbd{!} at the prompt. It applies all the variables, but only +marks the non-risky ones as safe for the future. If you really want to +record safe values for risky variables, do it directly by customizing @samp{safe-local-variable-values} (@pxref{Easy Customization}). @vindex enable-local-variables