From: Paul Eggert Date: Tue, 24 Nov 2015 03:22:42 +0000 (-0800) Subject: Improve text-quoting-style doc X-Git-Tag: emacs-25.0.90~667 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=946ea4184ce147de9a1314760b2089af59116794;p=emacs.git Improve text-quoting-style doc --- 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\\='.