diff options
| author | Stefan Monnier | 2006-04-29 14:02:42 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2006-04-29 14:02:42 +0000 |
| commit | 7817e3d35e77621ce12c93cb9d07820250cf31c2 (patch) | |
| tree | e8901bee5780ac8a723d8aa2605125c5c71d4a73 | |
| parent | 80aa469540e939c8d7dcdf27021e78f12d0b957a (diff) | |
| download | emacs-7817e3d35e77621ce12c93cb9d07820250cf31c2.tar.gz emacs-7817e3d35e77621ce12c93cb9d07820250cf31c2.zip | |
(File Local Variables): Remove the special case t for safe-local-variable.
| -rw-r--r-- | lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | lispref/variables.texi | 13 |
2 files changed, 11 insertions, 7 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index ac6bd07a175..1eed9dec592 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2006-04-29 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * variables.texi (File Local Variables): Remove the special case t for | ||
| 4 | safe-local-variable. | ||
| 5 | |||
| 1 | 2006-04-26 Richard Stallman <rms@gnu.org> | 6 | 2006-04-26 Richard Stallman <rms@gnu.org> |
| 2 | 7 | ||
| 3 | * syntax.texi (Parsing Expressions): Minor cleanup. | 8 | * syntax.texi (Parsing Expressions): Minor cleanup. |
diff --git a/lispref/variables.texi b/lispref/variables.texi index d97848549c0..c2abdf0563d 100644 --- a/lispref/variables.texi +++ b/lispref/variables.texi | |||
| @@ -1778,13 +1778,12 @@ measures to prevent this. | |||
| 1778 | 1778 | ||
| 1779 | @cindex safe local variable | 1779 | @cindex safe local variable |
| 1780 | You can specify safe values for a variable with a | 1780 | You can specify safe values for a variable with a |
| 1781 | @code{safe-local-variable} property. If the property is @code{t}, | 1781 | @code{safe-local-variable} property. The property has to be |
| 1782 | setting that variable in a file is always considered safe, regardless | 1782 | a function of one argument; any value is safe if the function |
| 1783 | of the value used. If the property is a function of one argument, | 1783 | returns non-@code{nil} given that value. Many commonly encountered |
| 1784 | then any value is safe if the function returns non-@code{nil} given | 1784 | file variables standardly have @code{safe-local-variable} properties, |
| 1785 | that value. Many commonly encountered file variables standardly have | 1785 | including @code{fill-column}, @code{fill-prefix}, and |
| 1786 | @code{safe-local-variable} properties, including @code{fill-column}, | 1786 | @code{indent-tabs-mode}. |
| 1787 | @code{fill-prefix}, and @code{indent-tabs-mode}. | ||
| 1788 | 1787 | ||
| 1789 | @defopt safe-local-variable-values | 1788 | @defopt safe-local-variable-values |
| 1790 | This variable provides another way to mark some variable values as | 1789 | This variable provides another way to mark some variable values as |