From 4c88cf6decf35b0290ab7860ffb738a823190a68 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 10 May 2007 14:51:08 +0000 Subject: [PATCH] (Auto Major Mode): Document file-start-mode-alist. --- lispref/modes.texi | 5 +++++ 1 file changed, 5 insertions(+) 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, -- 2.39.5