]> git.eshelyaron.com Git - emacs.git/commitdiff
(auto-execute): Use \' in auto-mode-alist regexps.
authorRichard M. Stallman <rms@gnu.org>
Sat, 24 Sep 1994 04:11:17 +0000 (04:11 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 24 Sep 1994 04:11:17 +0000 (04:11 +0000)
lisp/emulation/mlsupport.el

index 63576d52f8b307b6bacdfee53bb011c6bd8c040a..3596036d0e53c59dfd78c7a5c4045b51449acd97 100644 (file)
   (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)))