changeset 51515:6d06c54cda5d

Fix bug in "Options Loop" skeleton for ksh. Add newlines to a few skeletons, add "select" keyword for bash.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 06 Jun 2003 15:06:53 +0000
parents 23b5b582aeff
children 741283db818a
files lisp/progmodes/sh-script.el
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/sh-script.el	Fri Jun 06 12:28:16 2003 +0000
+++ b/lisp/progmodes/sh-script.el	Fri Jun 06 15:06:53 2003 +0000
@@ -654,7 +654,7 @@
 
 (defcustom sh-other-keywords
   '((bash eval sh-append bourne
-	  "bye" "logout")
+	  "bye" "logout" "select")
 
     ;; The next entry is only used for defining the others
     (bourne eval sh-append sh
@@ -3100,7 +3100,7 @@
       ( "pattern, %s: "
 	> str sh-non-closing-paren \n
 	> _ \n
-	";;" \n)
+	";;" \n \n)
       > "*" sh-non-closing-paren \n
       > _ \n
       resume:
@@ -3288,7 +3288,7 @@
       > _ \n
       ( "other condition, %s: "
 	>  "elif " str "; then" > \n
-	> \n)
+	> \n \n)
       "else" > \n
       > \n
       resume:
@@ -3421,7 +3421,7 @@
   (ksh88 eval sh-modify sh
 	 16 "print"
 	 18 "${0##*/}"
-	 36 "OPTIND-1")
+	 37 "OPTIND-1")
   (posix eval sh-modify sh
 	 18 "$(basename $0)")
   (sh "optstring: "
@@ -3436,7 +3436,7 @@
 		  v2 nil)))
 	> str "|+" str sh-non-closing-paren \n
 	> _ v2 \n
-	> ";;" \n)
+	> ";;" \n \n)
       > "*" sh-non-closing-paren \n
       > "echo" " \"usage: " "`basename $0`"
       " [+-" '(setq v1 (point)) str