]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve text-quoting-style doc
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 Nov 2015 03:22:42 +0000 (19:22 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 Nov 2015 03:23:06 +0000 (19:23 -0800)
doc/lispref/help.texi
src/doc.c

index 387587a42033748b8c1ba97a210db701d525ec5b..0e08b2a2bfc5ea1b28fa83db75e6b523ce626ad3 100644 (file)
@@ -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
index 694c159fc09ba3b6d23e298267572e72d93398aa..6c2a3e52a2e03d5e5e540fd76b4579cf064296be 100644 (file)
--- 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\\='.