]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix last change
authorEli Zaretskii <eliz@gnu.org>
Sat, 29 Mar 2025 10:22:11 +0000 (13:22 +0300)
committerEshel Yaron <me@eshelyaron.com>
Mon, 31 Mar 2025 08:32:24 +0000 (10:32 +0200)
* lisp/files.el (auto-mode-alist):
* etc/NEWS: Fix last change.  (Bug#77138)

(cherry picked from commit cedefabfcfbe283fd539d8d290db550069807126)

lisp/files.el

index d65937ee03fa6002c1259dfc88544e230cf420cf..9f2f00f995f7eb3924be581324178afced3cc22c 100644 (file)
@@ -3252,7 +3252,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)