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

index c8a4f184c48b4c997bd073b3948a387b1ac774a7..ce1e53b2fb440a5c8b88e55b7378dc16a1b809e0 100644 (file)
@@ -47,7 +47,7 @@
            ;;  - that have a suffix .sh or .shar (shell archive)
            ;;  - that contain resources for the various shells
            ;;  - startup files for X11
-           (cons '("\\.sh$\\|\\.shar$\\|/\\.\\(profile\\|bash_profile\\|login\\|bash_login\\|logout\\|bash_logout\\|bashrc\\|t?cshrc\\|xinitrc\\|startxrc\\|xsession\\)$" . sh-mode)
+           (cons '("\\.sh\\'\\|\\.shar\\'\\|/\\.\\(profile\\|bash_profile\\|login\\|bash_login\\|logout\\|bash_logout\\|bashrc\\|t?cshrc\\|xinitrc\\|startxrc\\|xsession\\)\\'" . sh-mode)
                  auto-mode-alist)))