Commit ac6ff3ed authored by Richard M. Stallman's avatar Richard M. Stallman

(auto-execute): Use \' in auto-mode-alist regexps.

parent dd69dcbc
......@@ -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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment