Variable: dcl-electric-reindent-regexps

dcl-electric-reindent-regexps is a customizable variable defined in dcl-mode.el.gz.

Value

("endif" "else" "[a-zA-Z0-9_$]*:\\([    !]\\|$\\)")

Documentation

Regexps that can trigger an electric reindent.

A list of regexps that will trigger a reindent if the last letter is defined as dcl-electric-character.

E.g.: if this list contains endif, the key f is defined as dcl-electric-character and you have just typed the f in endif, the line will be reindented.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/dcl-mode.el.gz
(defcustom dcl-electric-reindent-regexps
  (list "endif" "else" dcl-label-r)
  "Regexps that can trigger an electric reindent.
A list of regexps that will trigger a reindent if the last letter
is defined as `dcl-electric-character'.

E.g.: if this list contains `endif', the key `f' is defined as
`dcl-electric-character' and you have just typed the `f' in
`endif', the line will be reindented."
  :type '(repeat regexp))