From xemacs-m  Fri Feb 21 14:33:28 1997
Received: from CNRI.Reston.VA.US (CNRI.Reston.VA.US [132.151.1.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id OAA01780
	for <xemacs-beta@xemacs.org>; Fri, 21 Feb 1997 14:33:27 -0600 (CST)
Received: from newcnri.cnri.reston.va.us by CNRI.Reston.VA.US id aa22214;
          21 Feb 97 15:34 EST
Received: from anthem.CNRI.Reston.Va.US by newcnri.CNRI.Reston.Va.US (SMI-8.6/SMI-SVR4)
	id PAA27453; Fri, 21 Feb 1997 15:34:14 -0500
Received: by anthem.CNRI.Reston.Va.US (SMI-8.6/SMI-SVR4)
	id PAA00619; Fri, 21 Feb 1997 15:34:13 -0500
Date: Fri, 21 Feb 1997 15:34:13 -0500
Message-Id: <199702212034.PAA00619@anthem.CNRI.Reston.Va.US>
From: "Barry A. Warsaw" <bwarsaw@anthem.cnri.reston.va.us>
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="D8Itpf9LU+nWZsMnS1zQRcYUtxoUpr4kYt+GIdX+"
Content-Transfer-Encoding: 7bit
To: xemacs-beta@xemacs.org
Cc: bug-gnu-emacs@prep.ai.mit.edu
Subject: sh-script.el missing defvars
Reply-To: "Barry A. Warsaw" <bwarsaw@CNRI.Reston.VA.US>
X-Attribution: BAW
X-Oblique-Strategy: Don't be afraid of things because they're easy to do
X-WWW-Homepage: http://www.python.org/~bwarsaw


--D8Itpf9LU+nWZsMnS1zQRcYUtxoUpr4kYt+GIdX+
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


sh-script.el in both Emacs 19.34 and XEmacs 19.15b93 is missing
defvars for the two hooks referenced in the file.   Attached is a
patch.

-Barry


--D8Itpf9LU+nWZsMnS1zQRcYUtxoUpr4kYt+GIdX+
Content-Type: text/plain
Content-Description: sh-script.el patch
Content-Disposition: inline;
	filename="p1"
Content-Transfer-Encoding: 7bit

*** sh-script.el	1997/02/21 20:27:27	1.1
--- sh-script.el	1997/02/21 20:29:27
***************
*** 50,53 ****
--- 50,59 ----
  (require 'executable)
  
+ (defvar sh-mode-hook nil
+   "*Hook run by `sh-mode'.")
+ 
+ (defvar sh-set-shell-hook nil
+   "*Hook run by `sh-set-shell'.")
+ 
  (defvar sh-ancestor-alist
    '((ash . sh)

--D8Itpf9LU+nWZsMnS1zQRcYUtxoUpr4kYt+GIdX+--

