Anonymous avatar 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'.")
 
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.