diff --git a/lisp/emulation/mlsupport.el b/lisp/emulation/mlsupport.el index 63576d52f8b307b6bacdfee53bb011c6bd8c040a..3596036d0e53c59dfd78c7a5c4045b51449acd97 100644 --- a/lisp/emulation/mlsupport.el +++ b/lisp/emulation/mlsupport.el @@ -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)))