aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-09-05 03:19:38 +0000
committerGlenn Morris2007-09-05 03:19:38 +0000
commit72b1ff2fa95fd98ba88995e6fa6cb79ea988b363 (patch)
treec4f4a389520d79e17235992ab49f61bd4a21e292
parentff4a0f0a3e130ad296797574124fde5b0f7f18b6 (diff)
downloademacs-72b1ff2fa95fd98ba88995e6fa6cb79ea988b363.tar.gz
emacs-72b1ff2fa95fd98ba88995e6fa6cb79ea988b363.zip
(Safe File Variables): Clarify `!' and risky variables.
-rw-r--r--man/custom.texi12
1 files changed, 8 insertions, 4 deletions
diff --git a/man/custom.texi b/man/custom.texi
index 3ab3ff0f636..d40e426ae17 100644
--- a/man/custom.texi
+++ b/man/custom.texi
@@ -1226,10 +1226,14 @@ safe.
1226@cindex risky variable 1226@cindex risky variable
1227 Some variables, such as @code{load-path}, are considered 1227 Some variables, such as @code{load-path}, are considered
1228particularly @dfn{risky}: there is seldom any reason to specify them 1228particularly @dfn{risky}: there is seldom any reason to specify them
1229as local variables, and changing them can be dangerous. Even if you 1229as local variables, and changing them can be dangerous. If a file
1230enter @kbd{!} at the confirmation prompt, Emacs will not record any 1230contains only risky local variables, Emacs neither offers nor accepts
1231values as safe for these variables. If you really want to record safe 1231@kbd{!} as input at the confirmation prompt. If some of the local
1232values for these variables, do it directly by customizing 1232variables in a file are risky, and some are only potentially unsafe,
1233@kbd{!} is an option at the prompt. If you enter @kbd{!} in this case,
1234all the local variables are applied, but only the non-risky ones are
1235marked as safe for the future. If you really want to
1236record safe values for risky variables, do it directly by customizing
1233@samp{safe-local-variable-values} (@pxref{Easy Customization}). 1237@samp{safe-local-variable-values} (@pxref{Easy Customization}).
1234 1238
1235@vindex enable-local-variables 1239@vindex enable-local-variables