Variable: electric-pair-delete-adjacent-pairs

electric-pair-delete-adjacent-pairs is a customizable variable defined in elec-pair.el.gz.

Value

t

Documentation

If non-nil, backspacing an open paren also deletes adjacent closer.

Can also be a function of no arguments, in which case that function's return value is considered instead.

This variable was added, or its default value changed, in Emacs 24.4.

View in manual

Probably introduced at or before Emacs version 24.4.

Source Code

;; Defined in /usr/src/emacs/lisp/elec-pair.el.gz
(defcustom electric-pair-delete-adjacent-pairs t
  "If non-nil, backspacing an open paren also deletes adjacent closer.

Can also be a function of no arguments, in which case that function's
return value is considered instead."
  :version "24.4"
  :group 'electricity
  :type '(choice
          (const :tag "Yes" t)
          (const :tag "No" nil)
          function))