emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 862faa64e5: ; * doc/lispref/modes.texi (Auto Major Mode): Clari


From: Eli Zaretskii
Subject: emacs-28 862faa64e5: ; * doc/lispref/modes.texi (Auto Major Mode): Clarification. (Bug#53199)
Date: Wed, 12 Jan 2022 07:37:33 -0500 (EST)

branch: emacs-28
commit 862faa64e5c41f232a636dc3b28089040cf8bc0a
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * doc/lispref/modes.texi (Auto Major Mode): Clarification.  (Bug#53199)
---
 doc/lispref/modes.texi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 1fafacb057..bc078d60e1 100644
--- 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.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]