; Fix last change

* lisp/files.el (auto-mode-alist):
* etc/NEWS: Fix last change.  (Bug#77138)
This commit is contained in:
Eli Zaretskii 2025-03-29 13:22:11 +03:00
parent 891f51fe11
commit cedefabfcf
2 changed files with 3 additions and 2 deletions

View file

@ -1638,7 +1638,7 @@ highlight the fill-column indicators. By default this is disabled.
* New Modes and Packages in Emacs 31.1
** New major mode 'conf-npmrc-mode'.
A major mode based on conf-mode purposed for editing ".npmrc" files.
A major mode based on 'conf-mode' for editing ".npmrc" files.
** New major modes based on the tree-sitter library

View file

@ -3207,7 +3207,8 @@ ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\|CBR\\|7Z\\|SQUASHFS\\)\\'" .
("\\.properties\\(?:\\.[a-zA-Z0-9._-]+\\)?\\'" . conf-javaprop-mode)
("\\.toml\\'" . conf-toml-mode)
("\\.desktop\\'" . conf-desktop-mode)
;; Dot is excluded from npmrc, because global configs may lack it.
;; Dot is excluded from npmrc, because global configs may lack it,
;; e.g. in /etc/npmrc files.
("npmrc\\'" . conf-npmrc-mode)
("/\\.redshift\\.conf\\'" . conf-windows-mode)
("\\`/etc/\\(?:DIR_COLORS\\|ethers\\|.?fstab\\|.*hosts\\|lesskey\\|login\\.?de\\(?:fs\\|vperm\\)\\|magic\\|mtab\\|pam\\.d/.*\\|permissions\\(?:\\.d/.+\\)?\\|protocols\\|rpc\\|services\\)\\'" . conf-space-mode)