Variable: sh-indent-after-if

sh-indent-after-if is a customizable variable defined in sh-script.el.gz.

Value

+

Documentation

How much to indent a statement after an if statement.

This includes lines after else and elif statements, too, but does not affect the else, elif or fi statements themselves.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/sh-script.el.gz
(defcustom sh-indent-after-if '+
  "How much to indent a statement after an `if' statement.
This includes lines after `else' and `elif' statements, too, but
does not affect the `else', `elif' or `fi' statements themselves."
  :type `(choice ,@ sh-number-or-symbol-list )
  :group 'sh-indentation)