This fixes the sh-script problem I was having.
1998-05-12 Andy Piper <andyp(a)parallax.co.uk>
* sh-script.el (sh-shell): don't include the extension in the shell name.
This is almost never the right thing and breaks font-lock.
Index: sh-script.el
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs-packages/prog/sh-script/sh-script.el,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 sh-script.el
--- sh-script.el 1998/01/14 06:45:10 1.1.1.1
+++ sh-script.el 1998/05/12 22:07:03
@@ -213,7 +213,9 @@
(or (cdr (assq shell sh-alias-alist))
shell))
-(defvar sh-shell (sh-canonicalize-shell (file-name-nondirectory
sh-shell-file))
+(defvar sh-shell (sh-canonicalize-shell
+ (file-name-sans-extension
+ (file-name-nondirectory sh-shell-file)))
"The shell being programmed. This is set by \\[sh-set-shell].")
;;; I turned off this feature because it doesn't permit typing commands