mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
; * doc/lispref/modes.texi (Auto Major Mode): Clarification. (Bug#53199)
This commit is contained in:
parent
ad82bbdf08
commit
862faa64e5
@ -750,6 +750,9 @@ uncompression packages: an entry of the form @code{("\\.gz\\'"
|
||||
@var{function} t)} can uncompress the file and then put the uncompressed
|
||||
file in the proper mode according to the name sans @samp{.gz}.
|
||||
|
||||
If @code{auto-mode-alist} has more than one element whose @var{regexp}
|
||||
matches the file name, Emacs will use the first match.
|
||||
|
||||
Here is an example of how to prepend several pattern pairs to
|
||||
@code{auto-mode-alist}. (You might use this sort of expression in your
|
||||
init file.)
|
||||
|
Loading…
Reference in New Issue
Block a user