From: Richard M. Stallman Date: Sat, 24 Sep 1994 04:11:17 +0000 (+0000) Subject: (auto-execute): Use \' in auto-mode-alist regexps. X-Git-Tag: emacs-19.34~6796 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ac6ff3ed72ceecafb2980aa50deea1a2cbab4a85;p=emacs.git (auto-execute): Use \' in auto-mode-alist regexps. --- diff --git a/lisp/emulation/mlsupport.el b/lisp/emulation/mlsupport.el index 63576d52f8b..3596036d0e5 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)))