Commits

Anonymous committed 9dc5c8a

No extension in shell name

  • Participants
  • Parent commits 328ff0e

Comments (0)

Files changed (3)

+1998-05-12  Andy Piper  <andyp@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.
+
 1998-01-24  SL Baur  <steve@altair.xemacs.org>
 
 	* Makefile (VERSION): Update to package standard 1.0.
 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 # Boston, MA 02111-1307, USA.
 
-VERSION = 1.04
+VERSION = 1.05
 AUTHOR_VERSION = 2.0e
 MAINTAINER = XEmacs Development Team <xemacs-beta@xemacs.org>
 PACKAGE = sh-script
   (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