summaryrefslogtreecommitdiff
path: root/lispref/modes.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-08-19 04:45:06 +0000
committerRichard M. Stallman <rms@gnu.org>1995-08-19 04:45:06 +0000
commit5c025a8ff860621a629f30d222eca4da200e32c1 (patch)
tree2773eab4f1a37684004592f559dc8c3665c7b436 /lispref/modes.texi
parent42067cae70503a0da0e770a48a6438d9a2664f09 (diff)
downloademacs-5c025a8ff860621a629f30d222eca4da200e32c1.tar.gz
Fix typos.
Diffstat (limited to 'lispref/modes.texi')
-rw-r--r--lispref/modes.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/lispref/modes.texi b/lispref/modes.texi
index e1fef9bf514..e7b164f3b2c 100644
--- a/lispref/modes.texi
+++ b/lispref/modes.texi
@@ -541,7 +541,8 @@ the user what to do for each file. The default value is @code{maybe}.
@cindex visited file mode
This function selects the major mode that is appropriate for the
current buffer. It may base its decision on the value of the @w{@samp{-*-}}
-line, on the visited file name (using @code{auto-mode-alist}), or on the
+line, on the visited file name (using @code{auto-mode-alist}), on the
+@w{@samp{#!}} line (using @code{interpreter-mode-alist}), or on the
value of a local variable. However, this function does not look for
the @samp{mode:} local variable near the end of a file; the
@code{hack-local-variables} function does that. @xref{Choosing Modes, ,
@@ -638,7 +639,7 @@ Here is an example of how to prepend several pattern pairs to
@defvar interpreter-mode-alist
This variable specifes major modes to use for scripts that specify a
-command interpreter in an @samp{!#} line. Its value is a list of
+command interpreter in an @samp{#!} line. Its value is a list of
elements of the form @code{(@var{interpreter} . @var{mode})}; for
example, @code{("perl" . perl-mode)} is one element present by default.
The element says to use mode @var{mode} if the file specifies