aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2003-06-06 15:06:53 +0000
committerJuanma Barranquero2003-06-06 15:06:53 +0000
commitbc38726909e7d5184de7177ae4d56390a97ee103 (patch)
tree64964151a71a83586f0ab1c3cf4292d74dba17fb
parentb038485e9a815712dd80038565ce391a7128701e (diff)
downloademacs-bc38726909e7d5184de7177ae4d56390a97ee103.tar.gz
emacs-bc38726909e7d5184de7177ae4d56390a97ee103.zip
Fix bug in "Options Loop" skeleton for ksh. Add newlines to a few skeletons,
add "select" keyword for bash.
-rw-r--r--lisp/progmodes/sh-script.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 49ca73a435c..127799d9447 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -654,7 +654,7 @@ flow of control or syntax. See `sh-feature'."
654 654
655(defcustom sh-other-keywords 655(defcustom sh-other-keywords
656 '((bash eval sh-append bourne 656 '((bash eval sh-append bourne
657 "bye" "logout") 657 "bye" "logout" "select")
658 658
659 ;; The next entry is only used for defining the others 659 ;; The next entry is only used for defining the others
660 (bourne eval sh-append sh 660 (bourne eval sh-append sh
@@ -3100,7 +3100,7 @@ This is always added to the end of the buffer."
3100 ( "pattern, %s: " 3100 ( "pattern, %s: "
3101 > str sh-non-closing-paren \n 3101 > str sh-non-closing-paren \n
3102 > _ \n 3102 > _ \n
3103 ";;" \n) 3103 ";;" \n \n)
3104 > "*" sh-non-closing-paren \n 3104 > "*" sh-non-closing-paren \n
3105 > _ \n 3105 > _ \n
3106 resume: 3106 resume:
@@ -3288,7 +3288,7 @@ t means to return a list of all possible completions of STRING.
3288 > _ \n 3288 > _ \n
3289 ( "other condition, %s: " 3289 ( "other condition, %s: "
3290 > "elif " str "; then" > \n 3290 > "elif " str "; then" > \n
3291 > \n) 3291 > \n \n)
3292 "else" > \n 3292 "else" > \n
3293 > \n 3293 > \n
3294 resume: 3294 resume:
@@ -3421,7 +3421,7 @@ option followed by a colon `:' if the option accepts an argument."
3421 (ksh88 eval sh-modify sh 3421 (ksh88 eval sh-modify sh
3422 16 "print" 3422 16 "print"
3423 18 "${0##*/}" 3423 18 "${0##*/}"
3424 36 "OPTIND-1") 3424 37 "OPTIND-1")
3425 (posix eval sh-modify sh 3425 (posix eval sh-modify sh
3426 18 "$(basename $0)") 3426 18 "$(basename $0)")
3427 (sh "optstring: " 3427 (sh "optstring: "
@@ -3436,7 +3436,7 @@ option followed by a colon `:' if the option accepts an argument."
3436 v2 nil))) 3436 v2 nil)))
3437 > str "|+" str sh-non-closing-paren \n 3437 > str "|+" str sh-non-closing-paren \n
3438 > _ v2 \n 3438 > _ v2 \n
3439 > ";;" \n) 3439 > ";;" \n \n)
3440 > "*" sh-non-closing-paren \n 3440 > "*" sh-non-closing-paren \n
3441 > "echo" " \"usage: " "`basename $0`" 3441 > "echo" " \"usage: " "`basename $0`"
3442 " [+-" '(setq v1 (point)) str 3442 " [+-" '(setq v1 (point)) str