From 946ea4184ce147de9a1314760b2089af59116794 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 23 Nov 2015 19:22:42 -0800 Subject: [PATCH] Improve text-quoting-style doc --- doc/lispref/help.texi | 5 +++-- src/doc.c | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/lispref/help.texi b/doc/lispref/help.texi index 387587a4203..0e08b2a2bfc 100644 --- a/doc/lispref/help.texi +++ b/doc/lispref/help.texi @@ -352,8 +352,9 @@ string in Emacs Lisp. @defvar text-quoting-style @cindex curved quotes @cindex curly quotes -The value of this variable specifies the style used to generate text -quotes. If the variable's value is @code{curve}, the style is +The value of this variable is a symbol that specifies the style Emacs +should use for single quotes in the wording of help and messages. +If the variable's value is @code{curve}, the style is @t{‘like this’} with curved single quotes. If the value is @code{straight}, the style is @t{'like this'} with straight apostrophes. If the value is @code{grave}, the style is @t{`like diff --git a/src/doc.c b/src/doc.c index 694c159fc09..6c2a3e52a2e 100644 --- a/src/doc.c +++ b/src/doc.c @@ -1023,7 +1023,8 @@ syms_of_doc (void) Vbuild_files = Qnil; DEFVAR_LISP ("text-quoting-style", Vtext_quoting_style, - doc: /* Style to use for single quotes when generating text. + doc: /* Style to use for single quotes in help and messages. +Its value should be a symbol. `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\\='. -- 2.39.5