diff options
| author | Luc Teirlinck | 2005-05-09 01:24:32 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2005-05-09 01:24:32 +0000 |
| commit | dc3349718852b2db33fa986fbb9ecc1af7026667 (patch) | |
| tree | c0df245d14f51942c87a88172e826d0f6a083a55 | |
| parent | f1701e6542604afbeae652cc033bab76f255e129 (diff) | |
| download | emacs-dc3349718852b2db33fa986fbb9ecc1af7026667.tar.gz emacs-dc3349718852b2db33fa986fbb9ecc1af7026667.zip | |
(File Local Variables): `(hack-local-variables t)' now also checks
whether a mode is specified in the local variables list.
| -rw-r--r-- | lispref/variables.texi | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lispref/variables.texi b/lispref/variables.texi index 5ece7e98906..28eab924eca 100644 --- a/lispref/variables.texi +++ b/lispref/variables.texi | |||
| @@ -1804,10 +1804,9 @@ function does not look for the @samp{mode:} local variable in the | |||
| 1804 | @code{enable-local-variables} into account. | 1804 | @code{enable-local-variables} into account. |
| 1805 | 1805 | ||
| 1806 | If the optional argument @var{mode-only} is non-@code{nil}, then all | 1806 | If the optional argument @var{mode-only} is non-@code{nil}, then all |
| 1807 | this function does is return @code{t} if the @w{@samp{-*-}} line | 1807 | this function does is return @code{t} if the @w{@samp{-*-}} line or |
| 1808 | specifies a mode and @code{nil} otherwise. It does not set the mode | 1808 | the local variables list specifies a mode and @code{nil} otherwise. |
| 1809 | nor any other file local variable. It does not check whether a mode | 1809 | It does not set the mode nor any other file local variable. |
| 1810 | is specified in the local variables list at the end of the file. | ||
| 1811 | @end defun | 1810 | @end defun |
| 1812 | 1811 | ||
| 1813 | If a file local variable list could specify a function that would | 1812 | If a file local variable list could specify a function that would |