Variable: electric-pair-preserve-balance
electric-pair-preserve-balance is a customizable variable defined in
elec-pair.el.gz.
Value
t
Documentation
Non-nil if default pairing and skipping should help balance parentheses.
The default values of electric-pair-inhibit-predicate and
electric-pair-skip-self check this variable before delegating to other
predicates responsible for making decisions on whether to pair/skip some
characters based on the actual state of the buffer's parentheses and
quotes.
This variable was added, or its default value changed, in Emacs 24.4.
Probably introduced at or before Emacs version 24.4.
Source Code
;; Defined in /usr/src/emacs/lisp/elec-pair.el.gz
(defcustom electric-pair-preserve-balance t
"Non-nil if default pairing and skipping should help balance parentheses.
The default values of `electric-pair-inhibit-predicate' and
`electric-pair-skip-self' check this variable before delegating to other
predicates responsible for making decisions on whether to pair/skip some
characters based on the actual state of the buffer's parentheses and
quotes."
:version "24.4"
:group 'electricity
:type 'boolean)