Variable: electric-pair-text-pairs
electric-pair-text-pairs is a customizable variable defined in
elec-pair.el.gz.
Value
((34 . 34) (8216 . 8217) (8220 . 8221))
Documentation
Alist of pairs that should always be used in comments and strings.
Pairs of delimiters in this list are a fallback in case they have
no syntax relevant to electric-pair-mode(var)/electric-pair-mode(fun) in the syntax table
defined in electric-pair-text-syntax-table.
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-text-pairs
`((?\" . ?\")
(,(nth 0 electric-quote-chars) . ,(nth 1 electric-quote-chars))
(,(nth 2 electric-quote-chars) . ,(nth 3 electric-quote-chars)))
"Alist of pairs that should always be used in comments and strings.
Pairs of delimiters in this list are a fallback in case they have
no syntax relevant to `electric-pair-mode' in the syntax table
defined in `electric-pair-text-syntax-table'."
:version "24.4"
:group 'electricity
:type '(repeat (cons character character)))