summaryrefslogtreecommitdiff
path: root/lisp/progmodes/sh-script.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-09-24 04:13:41 +0000
committerRichard M. Stallman <rms@gnu.org>1994-09-24 04:13:41 +0000
commite3ee195fd491ae798871c710c187de32a21e1e18 (patch)
tree0887be59115f7cb188f2a2d1145205cff439fa74 /lisp/progmodes/sh-script.el
parented94134f6aed72934cf5f41f9573fde136041dd4 (diff)
downloademacs-e3ee195fd491ae798871c710c187de32a21e1e18.tar.gz
(auto-mode-alist): Use \' in auto-mode-alist regexps.
Diffstat (limited to 'lisp/progmodes/sh-script.el')
-rw-r--r--lisp/progmodes/sh-script.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index c8a4f184c48..ce1e53b2fb4 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -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)))