Commits

Anonymous committed 2aae3e8

Decrease sh-test indexes by one <567251.40390.qm@web15005.mail.cnb.yahoo.com>, #180

Comments (0)

Files changed (2)

+2008-02-09  FKtPp  <m_pupil@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@xemacs.org>
 
 	* sh-script.el (auto-mode-alist): Add *.bash, *.in variants.
 (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'.")