diff options
author | Richard M. Stallman <rms@gnu.org> | 2007-05-10 14:51:08 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2007-05-10 14:51:08 +0000 |
commit | 4c88cf6decf35b0290ab7860ffb738a823190a68 (patch) | |
tree | 3daf7649949834e6b6fdab15e5ac71a4d1ec604c /lispref | |
parent | 1477487565a7f2c851baa1a5150aadede75354aa (diff) | |
download | emacs-4c88cf6decf35b0290ab7860ffb738a823190a68.tar.gz |
(Auto Major Mode): Document file-start-mode-alist.
Diffstat (limited to 'lispref')
-rw-r--r-- | lispref/modes.texi | 5 |
1 files changed, 5 insertions, 0 deletions
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, |