Variable: electric-quote-context-sensitive
electric-quote-context-sensitive is a customizable variable defined in
electric.el.gz.
Value
nil
Documentation
Non-nil means to replace ' with an electric quote depending on context.
If electric-quote-context-sensitive is non-nil and electric-quote-mode(var)/electric-quote-mode(fun)
is enabled, as you type Emacs replaces ' and '' with an opening
quote after a line break, whitespace, opening parenthesis, or quote and
leaves ` alone.
The replacing quote character is defined by electric-quote-chars.
This variable was added, or its default value changed, in Emacs 26.1.
Probably introduced at or before Emacs version 26.1.
Source Code
;; Defined in /usr/src/emacs/lisp/electric.el.gz
(defcustom electric-quote-context-sensitive nil
"Non-nil means to replace \\=' with an electric quote depending on context.
If `electric-quote-context-sensitive' is non-nil and `electric-quote-mode'
is enabled, as you type Emacs replaces \\=' and \\='\\=' with an opening
quote after a line break, whitespace, opening parenthesis, or quote and
leaves \\=` alone.
The replacing quote character is defined by `electric-quote-chars'."
:version "26.1"
:type 'boolean :safe #'booleanp :group 'electricity)