1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 11:50:51 -08:00

Improve formatting in text-quoting-style docstring

* src/doc.c (syms_of_doc) <text-quoting-style>: Doc fix; improve
formatting for readability.
This commit is contained in:
Stefan Kangas 2021-05-06 16:31:20 +02:00
parent 220845be11
commit 74a4f3e043

View file

@ -719,17 +719,19 @@ syms_of_doc (void)
DEFVAR_LISP ("text-quoting-style", Vtext_quoting_style,
doc: /* Style to use for single quotes in help and messages.
Its value should be a symbol. It works by substituting certain single
quotes for grave accent and apostrophe. This is done in help output
\(but not for display of Info manuals) and in functions like `message'
and `format-message'. It is not done in `format'.
`curve' means quote with curved single quotes like this.
`straight' means quote with straight apostrophes \\='like this\\='.
`grave' means quote with grave accent and apostrophe \\=`like this\\=';
i.e., do not alter quote marks. The default value nil acts like
`curve' if curved single quotes are displayable, and like `grave'
otherwise. */);
This works by substituting certain single quotes for grave accent and
apostrophe. This is done in help output (but not for display of Info
manuals) and in functions like `message' and `format-message'. It is
not done in `format'.
Its 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 quote marks.
nil: like `curve' if curved single quotes are displayable,
and like `grave' otherwise. */);
Vtext_quoting_style = Qnil;
DEFVAR_BOOL ("internal--text-quoting-flag", text_quoting_flag,