Variable: text-quoting-style

text-quoting-style is a customizable variable defined in doc.c.

Value

nil

Documentation

Style to use for single quotes in help and messages.

The value of this variable determines substitution of grave accents and apostrophes in help output (but not for display of Info manuals) and in functions like message and format-message, but not in format.

The value should be one of these symbols:
  curve: quote with curved single quotes ‘like this’.
  straight: quote with straight apostrophes 'like this'.
  grave: quote with grave accent and apostrophe `like this';
i.e., do not alter the original quote marks.
  nil: like curve if curved single quotes are displayable,
and like grave otherwise. This is the default.

Probably introduced at or before Emacs version 25.1.

Source Code

// Defined in /usr/src/emacs/src/doc.c
  DEFVAR_LISP ("text-quoting-style", Vtext_quoting_style,
               doc: /* Style to use for single quotes in help and messages.

The value of this variable determines substitution of grave accents
and apostrophes in help output (but not for display of Info
manuals) and in functions like `message' and `format-message', but not
in `format'.

The value should be one of these symbols:
  `curve':    quote with curved single quotes ‘like this’.
  `straight': quote with straight apostrophes \\='like this\\='.
  `grave':    quote with grave accent and apostrophe \\=`like this\\=';
	      i.e., do not alter the original quote marks.
  nil:        like `curve' if curved single quotes are displayable,
	      and like `grave' otherwise.  This is the default.  */);