# HG changeset patch # User Juanma Barranquero # Date 1054912013 0 # Node ID 6d06c54cda5dbd1c8ed6ffe507564da350fb50a6 # Parent 23b5b582aeffd76726eb1a0fd3650fd155053b8a Fix bug in "Options Loop" skeleton for ksh. Add newlines to a few skeletons, add "select" keyword for bash. diff -r 23b5b582aeff -r 6d06c54cda5d lisp/progmodes/sh-script.el --- 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