mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-12 16:23:57 +00:00
(auto-execute): Use \' in auto-mode-alist regexps.
This commit is contained in:
parent
dd69dcbc6f
commit
ac6ff3ed72
@ -139,7 +139,7 @@
|
|||||||
(if (/= (aref pattern 0) ?*)
|
(if (/= (aref pattern 0) ?*)
|
||||||
(error "Only patterns starting with * supported in auto-execute"))
|
(error "Only patterns starting with * supported in auto-execute"))
|
||||||
(setq auto-mode-alist (cons (cons (concat "\\." (substring pattern 1)
|
(setq auto-mode-alist (cons (cons (concat "\\." (substring pattern 1)
|
||||||
"$")
|
"\\'")
|
||||||
function)
|
function)
|
||||||
auto-mode-alist)))
|
auto-mode-alist)))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user