aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
diff options
context:
space:
mode:
authorStefan Kangas2021-05-06 16:31:20 +0200
committerStefan Kangas2021-05-06 16:31:20 +0200
commit74a4f3e043455364fddb1becc2da0c4be42e78e0 (patch)
tree8805992f415c46041b315ea8217bf42def466504 /src/doc.c
parent220845be11acbb08f719d327c8088ea7a414ef59 (diff)
downloademacs-74a4f3e043455364fddb1becc2da0c4be42e78e0.tar.gz
emacs-74a4f3e043455364fddb1becc2da0c4be42e78e0.zip
Improve formatting in text-quoting-style docstring
* src/doc.c (syms_of_doc) <text-quoting-style>: Doc fix; improve formatting for readability.
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/doc.c b/src/doc.c
index e179a126184..63e0cbbb432 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -719,17 +719,19 @@ syms_of_doc (void)
719 719
720 DEFVAR_LISP ("text-quoting-style", Vtext_quoting_style, 720 DEFVAR_LISP ("text-quoting-style", Vtext_quoting_style,
721 doc: /* Style to use for single quotes in help and messages. 721 doc: /* Style to use for single quotes in help and messages.
722Its value should be a symbol. It works by substituting certain single 722
723quotes for grave accent and apostrophe. This is done in help output 723This works by substituting certain single quotes for grave accent and
724\(but not for display of Info manuals) and in functions like `message' 724apostrophe. This is done in help output (but not for display of Info
725and `format-message'. It is not done in `format'. 725manuals) and in functions like `message' and `format-message'. It is
726 726not done in `format'.
727`curve' means quote with curved single quotes ‘like this’. 727
728`straight' means quote with straight apostrophes \\='like this\\='. 728Its value should be one of these symbols:
729`grave' means quote with grave accent and apostrophe \\=`like this\\='; 729 `curve': quote with curved single quotes ‘like this’.
730i.e., do not alter quote marks. The default value nil acts like 730 `straight': quote with straight apostrophes \\='like this\\='.
731`curve' if curved single quotes are displayable, and like `grave' 731 `grave': quote with grave accent and apostrophe \\=`like this\\=';
732otherwise. */); 732 i.e., do not alter quote marks.
733 nil: like `curve' if curved single quotes are displayable,
734 and like `grave' otherwise. */);
733 Vtext_quoting_style = Qnil; 735 Vtext_quoting_style = Qnil;
734 736
735 DEFVAR_BOOL ("internal--text-quoting-flag", text_quoting_flag, 737 DEFVAR_BOOL ("internal--text-quoting-flag", text_quoting_flag,