mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-11 16:08:13 +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) ?*)
|
||||
(error "Only patterns starting with * supported in auto-execute"))
|
||||
(setq auto-mode-alist (cons (cons (concat "\\." (substring pattern 1)
|
||||
"$")
|
||||
"\\'")
|
||||
function)
|
||||
auto-mode-alist)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user