Variable: electric-indent-inhibit
electric-indent-inhibit is a buffer-local variable defined in
electric.el.gz.
Documentation
If non-nil, inhibit reindentation by electric-indent-mode(var)/electric-indent-mode(fun).
This should be non-nil if reindentation is not appropriate for this
buffer. This should be set by major modes such as python-mode since
Python does not lend itself to fully automatic indentation.
Source Code
;; Defined in /usr/src/emacs/lisp/electric.el.gz
(defvar-local electric-indent-inhibit nil
"If non-nil, inhibit reindentation by `electric-indent-mode'.
This should be non-nil if reindentation is not appropriate for this
buffer. This should be set by major modes such as `python-mode' since
Python does not lend itself to fully automatic indentation.")