diff options
| author | Glenn Morris | 2007-09-05 03:19:38 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-09-05 03:19:38 +0000 |
| commit | 72b1ff2fa95fd98ba88995e6fa6cb79ea988b363 (patch) | |
| tree | c4f4a389520d79e17235992ab49f61bd4a21e292 | |
| parent | ff4a0f0a3e130ad296797574124fde5b0f7f18b6 (diff) | |
| download | emacs-72b1ff2fa95fd98ba88995e6fa6cb79ea988b363.tar.gz emacs-72b1ff2fa95fd98ba88995e6fa6cb79ea988b363.zip | |
(Safe File Variables): Clarify `!' and risky variables.
| -rw-r--r-- | man/custom.texi | 12 |
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 |
| 1228 | particularly @dfn{risky}: there is seldom any reason to specify them | 1228 | particularly @dfn{risky}: there is seldom any reason to specify them |
| 1229 | as local variables, and changing them can be dangerous. Even if you | 1229 | as local variables, and changing them can be dangerous. If a file |
| 1230 | enter @kbd{!} at the confirmation prompt, Emacs will not record any | 1230 | contains only risky local variables, Emacs neither offers nor accepts |
| 1231 | values 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 |
| 1232 | values for these variables, do it directly by customizing | 1232 | variables 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, | ||
| 1234 | all the local variables are applied, but only the non-risky ones are | ||
| 1235 | marked as safe for the future. If you really want to | ||
| 1236 | record 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 |