diff options
| author | Glenn Morris | 2007-09-05 03:22:50 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-09-05 03:22:50 +0000 |
| commit | d61af56253764403d7c4ce8dd9a41cd378b2fd16 (patch) | |
| tree | c328888f5bd194cb72cfef6fce7cccf879d4d8bd | |
| parent | 0f4c7aefe3a3eed42ba4da23147929e699ab959f (diff) | |
| download | emacs-d61af56253764403d7c4ce8dd9a41cd378b2fd16.tar.gz emacs-d61af56253764403d7c4ce8dd9a41cd378b2fd16.zip | |
(Safe File Variables): Clarify `!' and risky variables.
| -rw-r--r-- | man/ChangeLog | 4 | ||||
| -rw-r--r-- | man/custom.texi | 11 |
2 files changed, 11 insertions, 4 deletions
diff --git a/man/ChangeLog b/man/ChangeLog index 8e58d905937..3cc76452fb3 100644 --- a/man/ChangeLog +++ b/man/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2007-09-05 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * custom.texi (Safe File Variables): Clarify `!' and risky variables. | ||
| 4 | |||
| 1 | 2007-09-01 Jay Belanger <jay.p.belanger@gmail.com> | 5 | 2007-09-01 Jay Belanger <jay.p.belanger@gmail.com> |
| 2 | 6 | ||
| 3 | * calc.texi (Date Conversions): Clarify definition of | 7 | * calc.texi (Date Conversions): Clarify definition of |
diff --git a/man/custom.texi b/man/custom.texi index 3ab3ff0f636..d496ab84b19 100644 --- a/man/custom.texi +++ b/man/custom.texi | |||
| @@ -1226,10 +1226,13 @@ 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, you |
| 1233 | can enter @kbd{!} at the prompt. It applies all the variables, but only | ||
| 1234 | marks the non-risky ones as safe for the future. If you really want to | ||
| 1235 | record safe values for risky variables, do it directly by customizing | ||
| 1233 | @samp{safe-local-variable-values} (@pxref{Easy Customization}). | 1236 | @samp{safe-local-variable-values} (@pxref{Easy Customization}). |
| 1234 | 1237 | ||
| 1235 | @vindex enable-local-variables | 1238 | @vindex enable-local-variables |