changeset 9059:23fe3c3fffe5

(auto-mode-alist): Use \' in auto-mode-alist regexps.
author Richard M. Stallman <rms@gnu.org>
date Sat, 24 Sep 1994 04:13:41 +0000
parents 626086713f36
children 7364babe18d2
files lisp/progmodes/sh-script.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/sh-script.el	Sat Sep 24 04:11:17 1994 +0000
+++ b/lisp/progmodes/sh-script.el	Sat Sep 24 04:13:41 1994 +0000
@@ -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)))