From: Richard M. Stallman Date: Sat, 24 Sep 1994 04:13:41 +0000 (+0000) Subject: (auto-mode-alist): Use \' in auto-mode-alist regexps. X-Git-Tag: emacs-19.34~6795 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ebbc29c72f791fac18b2dff4a666c54fb1d586cc;p=emacs.git (auto-mode-alist): Use \' in auto-mode-alist regexps. --- 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)))