changeset 77667:6f93cd776ecf

(Auto Major Mode): Document file-start-mode-alist.
author Richard M. Stallman <rms@gnu.org>
date Thu, 10 May 2007 14:51:08 +0000
parents c1c0e593ebb4
children cd8d5d9a645a
files lispref/modes.texi
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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,