Variable: electric-quote-replace-consecutive

electric-quote-replace-consecutive is a customizable variable defined in electric.el.gz.

Value

t

Documentation

Non-nil means to replace a pair of single quotes with a double quote.

Two single quotes are replaced by the corresponding double quote
when the second quote of the pair is entered (i.e. by typing or
) by default. If nil, the single quotes are not altered.

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

Probably introduced at or before Emacs version 29.1.

Source Code

;; Defined in /usr/src/emacs/lisp/electric.el.gz
(defcustom electric-quote-replace-consecutive t
  "Non-nil means to replace a pair of single quotes with a double quote.
Two single quotes are replaced by the corresponding double quote
when the second quote of the pair is entered (i.e. by typing ` or
') by default.  If nil, the single quotes are not altered."
  :version "29.1"
  :type 'boolean
  :safe #'booleanp
  :group 'electricity)