diff lispref/modes.texi @ 12888:684378ed4f45

Fix typos.
author Richard M. Stallman <rms@gnu.org>
date Sat, 19 Aug 1995 04:45:06 +0000
parents 6dcd5ad16790
children bfe1d6597f08
line wrap: on
line diff
--- a/lispref/modes.texi	Sat Aug 19 00:30:56 1995 +0000
+++ b/lispref/modes.texi	Sat Aug 19 04:45:06 1995 +0000
@@ -541,7 +541,8 @@
 @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 @@
 
 @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