From: Richard M. Stallman Date: Thu, 10 May 2007 14:51:08 +0000 (+0000) Subject: (Auto Major Mode): Document file-start-mode-alist. X-Git-Tag: emacs-pretest-22.0.990~64 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4c88cf6decf35b0290ab7860ffb738a823190a68;p=emacs.git (Auto Major Mode): Document file-start-mode-alist. --- diff --git a/lispref/modes.texi b/lispref/modes.texi index 5d91b238fca..56fb43a0c3b 100644 --- a/lispref/modes.texi +++ b/lispref/modes.texi @@ -616,6 +616,11 @@ the text at the beginning of the buffer matches @var{regexp} and @code{auto-mode-alist} gets to decide the mode. @end defvar +@defvar file-start-mode-alist +This works like @code{magic-mode-alist}, except that it is handled +only if @code{auto-mode-alist} does not specify a mode for this file. +@end defvar + @defvar auto-mode-alist This variable contains an association list of file name patterns (regular expressions) and corresponding major mode commands. Usually,