1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Doc updates

* buffers.texi (Modification Time): Document visited-file-modtime change.

* modes.texi (Auto Major Mode): Document interpreter-mode-alist change.
This commit is contained in:
Chong Yidong 2013-12-28 12:30:19 +08:00
parent a544fbe1d1
commit 4364185f73
4 changed files with 19 additions and 20 deletions

View file

@ -646,10 +646,10 @@ mode command. The default value is @code{lisp-interaction-mode}.
@defvar interpreter-mode-alist
This variable specifies major modes to use for scripts that specify a
command interpreter in a @samp{#!} line. Its value is an alist with
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 an interpreter which matches @var{interpreter}.
elements of the form @code{(@var{regexp} . @var{mode})}; this says to
use mode @var{mode} if the file specifies an interpreter which matches
@code{\\`@var{regexp}\\'}. For example, one of the default elements
is @code{("python[0-9.]*" . python-mode)}.
@end defvar
@defvar magic-mode-alist