Emacs: text-quoting-style

By Xah Lee. Date: . Last updated: .

stop describe-function from converting quote characters in docstring

2023-08-04 starting in Emacs 28 (Released 2022-04) , describe-function converts many quote characters in docstring. [see Emacs Lisp: Docstring Markup]

it create problems, such that 'symbol will be displayed as ’symbol.

to have a literal 'symbol, you need to write \\='symbol in docstring.

to stop any conversion, put this in your Emacs Init File:

;; stop describe-function etc from converting many quote characters in docstring.
(setq text-quoting-style 'grave)
;; 2021-12-21. problem is due to Alan Mackenzie. see
;; Emacs Lisp Doc String Curly Quote Controversy
;; http://xahlee.info/emacs/misc/emacs_lisp_curly_quote_controversy.html

Emacs Text Quoting Conversion in Docstring