1
0
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:
Richard M. Stallman 1994-09-24 04:11:17 +00:00
parent dd69dcbc6f
commit ac6ff3ed72

View File

@ -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)))