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, Emacs replaces
' and '' with an opening quote after a line break,
whitespace, opening parenthesis, or quote and leaves ` alone.

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, Emacs replaces
\\=' and \\='\\=' with an opening quote after a line break,
whitespace, opening parenthesis, or quote and leaves \\=` alone."
  :version "26.1"
  :type 'boolean :safe #'booleanp :group 'electricity)