projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad82bbd
)
; * doc/lispref/modes.texi (Auto Major Mode): Clarification. (Bug#53199)
author
Eli Zaretskii
<eliz@gnu.org>
Wed, 12 Jan 2022 12:36:56 +0000
(14:36 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Wed, 12 Jan 2022 12:36:56 +0000
(14:36 +0200)
doc/lispref/modes.texi
patch
|
blob
|
history
diff --git
a/doc/lispref/modes.texi
b/doc/lispref/modes.texi
index 1fafacb0573dfad92a74e7fd4bf3e8fc3ca8ee1b..bc078d60e1595bf7b6068aaa273276ceaf1af45a 100644
(file)
--- a/
doc/lispref/modes.texi
+++ b/
doc/lispref/modes.texi
@@
-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.)