diff options
| author | Richard M. Stallman | 1995-08-19 04:45:06 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-08-19 04:45:06 +0000 |
| commit | 76352dc186ad8eb4c19db6d609fa19d99b8de986 (patch) | |
| tree | dc79905ac930a7523bbdc9aea5eab3e598c81b53 /lispref | |
| parent | cd76025c784faeec1206c2210ae34347cc6bca9e (diff) | |
| download | emacs-76352dc186ad8eb4c19db6d609fa19d99b8de986.tar.gz emacs-76352dc186ad8eb4c19db6d609fa19d99b8de986.zip | |
Fix typos.
Diffstat (limited to 'lispref')
| -rw-r--r-- | lispref/modes.texi | 5 |
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}. | |||
| 541 | @cindex visited file mode | 541 | @cindex visited file mode |
| 542 | This function selects the major mode that is appropriate for the | 542 | This function selects the major mode that is appropriate for the |
| 543 | current buffer. It may base its decision on the value of the @w{@samp{-*-}} | 543 | current buffer. It may base its decision on the value of the @w{@samp{-*-}} |
| 544 | line, on the visited file name (using @code{auto-mode-alist}), or on the | 544 | line, on the visited file name (using @code{auto-mode-alist}), on the |
| 545 | @w{@samp{#!}} line (using @code{interpreter-mode-alist}), or on the | ||
| 545 | value of a local variable. However, this function does not look for | 546 | value of a local variable. However, this function does not look for |
| 546 | the @samp{mode:} local variable near the end of a file; the | 547 | the @samp{mode:} local variable near the end of a file; the |
| 547 | @code{hack-local-variables} function does that. @xref{Choosing Modes, , | 548 | @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 | |||
| 638 | 639 | ||
| 639 | @defvar interpreter-mode-alist | 640 | @defvar interpreter-mode-alist |
| 640 | This variable specifes major modes to use for scripts that specify a | 641 | This variable specifes major modes to use for scripts that specify a |
| 641 | command interpreter in an @samp{!#} line. Its value is a list of | 642 | command interpreter in an @samp{#!} line. Its value is a list of |
| 642 | elements of the form @code{(@var{interpreter} . @var{mode})}; for | 643 | elements of the form @code{(@var{interpreter} . @var{mode})}; for |
| 643 | example, @code{("perl" . perl-mode)} is one element present by default. | 644 | example, @code{("perl" . perl-mode)} is one element present by default. |
| 644 | The element says to use mode @var{mode} if the file specifies | 645 | The element says to use mode @var{mode} if the file specifies |