CVS update by scop packages/xemacs-packages/sh-script ...

xemacs-cvs at xemacs.org xemacs-cvs at xemacs.org
Sat Feb 9 16:51:35 EST 2008


  User: scop    
  Date: 08/02/09 22:51:35

  Modified:    packages/xemacs-packages/sh-script ChangeLog sh-script.el
Log:
Decrease sh-test indexes by one <567251.40390.qm at web15005.mail.cnb.yahoo.com>, #180

Revision  Changes    Path
1.29      +5 -0      XEmacs/packages/xemacs-packages/sh-script/ChangeLog

Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/sh-script/ChangeLog,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -p -r1.28 -r1.29
--- ChangeLog	2008/02/09 21:38:28	1.28
+++ ChangeLog	2008/02/09 21:51:34	1.29
@@ -1,3 +1,8 @@
+2008-02-09  FKtPp  <m_pupil at yahoo.com.cn>
+
+	* sh-script.el (sh-test): Decrease indexes by one to make shell
+	syntax errors less likely.
+
 2008-02-09  Ville Skyttä  <scop at xemacs.org>
 
 	* sh-script.el (auto-mode-alist): Add *.bash, *.in variants.



1.12      +3 -2      XEmacs/packages/xemacs-packages/sh-script/sh-script.el

Index: sh-script.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/sh-script/sh-script.el,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- sh-script.el	2008/02/09 21:38:29	1.11
+++ sh-script.el	2008/02/09 21:51:34	1.12
@@ -599,9 +599,10 @@ The actual command ends at the end of th
 (defvar sh-here-document-word "EOF"
   "Word to delimit here documents.")
 
+;; XEmacs change: indexes decreased by one (behaviour difference with GNU?)
 (defvar sh-test
-  '((sh "[  ]" . 3)
-    (ksh88 "[[  ]]" . 4))
+  '((sh "[  ]" . 2)
+    (ksh88 "[[  ]]" . 3))
   "Initial input in Bourne if, while and until skeletons.  See `sh-feature'.")
 
 





More information about the XEmacs-CVS mailing list