Variable: electric-pair-field-search-size

electric-pair-field-search-size is a variable defined in elec-pair.el.gz.

Value

nil

Documentation

How far to look for nearby fields to restrict electric-pair-mode(var)/electric-pair-mode(fun).

If nil, do not look for nearby fields and use the accessible portion of the buffer. If a integer number of characters, look at most that far backward and forward for a field boundary, falling back to the accessible portion of the buffer in that direction.

Probably introduced at or before Emacs version 32.1.

Source Code

;; Defined in /usr/src/emacs/lisp/elec-pair.el.gz
(defvar electric-pair-field-search-size nil
  "How far to look for nearby fields to restrict `electric-pair-mode'.

If nil, do not look for nearby fields and use the accessible portion of
the buffer.  If a integer number of characters, look at most that far
backward and forward for a field boundary, falling back to the
accessible portion of the buffer in that direction.")