Variable: sh-other-keywords

sh-other-keywords is a customizable variable defined in sh-script.el.gz.

Value

((bash sh-append bourne "bye" "logout" "select")
 (bourne sh-append sh "function")
 (csh sh-append shell "breaksw" "default" "end" "endif" "endsw"
      "foreach" "goto" "if" "logout" "onintr" "repeat" "switch" "then"
      "while")
 (es "break" "catch" "exec" "exit" "fn" "for" "forever" "fork" "if"
     "return" "throw" "while")
 (ksh88 sh-append bourne "select")
 (rc "break" "case" "exec" "exit" "fn" "for" "if" "in" "return"
     "switch" "while")
 (sh sh-append shell "done" "esac" "fi" "for" "in" "return")
 (shell "break" "case" "continue" "exec" "exit")
 (zsh sh-append bash "select" "foreach"))

Documentation

List of keywords not in sh-leading-keywords.

See sh-feature.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/sh-script.el.gz
(defcustom sh-other-keywords
  '((bash sh-append bourne
	  "bye" "logout" "select")

    ;; The next entry is only used for defining the others
    (bourne sh-append sh
	    "function")

    (csh sh-append shell
	 "breaksw" "default" "end" "endif" "endsw" "foreach" "goto"
	 "if" "logout" "onintr" "repeat" "switch" "then" "while")

    (es "break" "catch" "exec" "exit" "fn" "for" "forever" "fork" "if"
	"return" "throw" "while")

    (ksh88 sh-append bourne
	   "select")

    (rc "break" "case" "exec" "exit" "fn" "for" "if" "in" "return" "switch"
	"while")

    (sh sh-append shell
	"done" "esac" "fi" "for" "in" "return")

    ;; The next entry is only used for defining the others
    (shell "break" "case" "continue" "exec" "exit")

    (zsh sh-append bash
	 "select" "foreach"))
  "List of keywords not in `sh-leading-keywords'.
See `sh-feature'."
  :type '(repeat (cons (symbol :tag "Shell")
		       (choice (repeat string)
			       (sexp :format "Evaluate: %v"))))
  :group 'sh-script)