From 6b1765e05db432007ede6f1af3744e71063a728b Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 23 Aug 2015 13:43:34 +0200 Subject: =?UTF-8?q?Revert=20"Extend=20=E2=80=98format=E2=80=99=20to=20tran?= =?UTF-8?q?slate=20curved=20quotes"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 244c801689d2f7a80480d83cd7d092d4762ebe08. --- doc/lispref/help.texi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'doc/lispref/help.texi') diff --git a/doc/lispref/help.texi b/doc/lispref/help.texi index ab1696e6712..ca8ae3f314a 100644 --- a/doc/lispref/help.texi +++ b/doc/lispref/help.texi @@ -347,11 +347,19 @@ and @samp{\=\=} puts @samp{\=} into the output. @strong{Please note:} Each @samp{\} must be doubled when written in a string in Emacs Lisp. +@defvar text-quoting-style @cindex curved quotes @cindex curly quotes -The value of the @code{text-quoting-style} variable specifies the style +The value of this variable specifies the style @code{substitute-command-keys} uses when generating left and right -quotes. @xref{Formatting Strings}, for more information. +quotes. 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 +this'} with grave accent and apostrophe. The default value @code{nil} +acts like @code{curve} if curved single quotes are displayable, and +like @code{grave} otherwise. +@end defvar @defun substitute-command-keys string This function scans @var{string} for the above special sequences and -- cgit v1.2.1