bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#55773: Emacs 29.0.50:: allow single-quoted chars in docstring


From: Phil Sainty
Subject: bug#55773: Emacs 29.0.50:: allow single-quoted chars in docstring
Date: Fri, 03 Jun 2022 11:25:29 +1200
User-agent: Orcon Webmail

On 2022-06-03 07:49, Andreas Röhler wrote:
Need to display single-quoted chars in docstring

Nowadays you need to escape literal apostrophes in docstrings
like this:

result = some_function_that_takes_arguments(
    \\='a\\=', \\='b\\=', \\='c\\=',
    \\='d\\=', \\='e\\=', \\='f\\='
)

Setting `text-quoting-style' to grave will prevent you from getting
bitten by automated curly-quote substitutions in help buffers (but
of course won't help you to remember to escape things when writing
docstrings).

See also: (info "(elisp)Text Quoting Style")







reply via email to

[Prev in Thread] Current Thread [Next in Thread]