summaryrefslogtreecommitdiff
path: root/lisp/progmodes
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
commitebbc29c72f791fac18b2dff4a666c54fb1d586cc (patch)
treeb0ebbb9972742b86a11f621122fb1656d0b320ce /lisp/progmodes
parentac6ff3ed72ceecafb2980aa50deea1a2cbab4a85 (diff)
downloademacs-ebbc29c72f791fac18b2dff4a666c54fb1d586cc.tar.gz
(auto-mode-alist): Use \' in auto-mode-alist regexps.
Diffstat (limited to 'lisp/progmodes')
-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)))