# HG changeset patch # User Richard M. Stallman # Date 1178808668 0 # Node ID 6f93cd776ecf304f232307708e0c8cd412c7752e # Parent c1c0e593ebb48d6bf54b092a77b90039e4f7a55a (Auto Major Mode): Document file-start-mode-alist. diff -r c1c0e593ebb4 -r 6f93cd776ecf lispref/modes.texi --- a/lispref/modes.texi Thu May 10 14:48:46 2007 +0000 +++ b/lispref/modes.texi Thu May 10 14:51:08 2007 +0000 @@ -616,6 +616,11 @@ @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,