summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-11-23 19:22:42 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-11-23 19:23:06 -0800
commit946ea4184ce147de9a1314760b2089af59116794 (patch)
treee2e68ba8406add329eb609e2b866172a3be40bc6
parent004f4fc9d48f141f920e9ae9399f2b0e585edf9c (diff)
Improve text-quoting-style doc
-rw-r--r--doc/lispref/help.texi5
-rw-r--r--src/doc.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/doc/lispref/help.texi b/doc/lispref/help.texi
index 387587a420..0e08b2a2bf 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 694c159fc0..6c2a3e52a2 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\\='.