use "\\'" instead of "$" in auto-mode-alist

This commit is contained in:
zedhugh committed 2026-08-31 00:51:52 +08:00
1 parent 525799407e
commit b301edb39e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@
(autoload 'lua-mode "lua-mode" "" t)
(add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
(add-to-list 'auto-mode-alist '("\\.lua\\'" . lua-mode))
(add-to-list 'interpreter-mode-alist '("lua" . lua-mode))