aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref/strings.texi
diff options
context:
space:
mode:
authorAlan Mackenzie2017-09-22 21:52:03 +0000
committerAlan Mackenzie2017-10-01 11:27:16 +0000
commit5f76ac150a28e4de940790f96f0f751c8ee5d4c7 (patch)
treec5bcacf053fcb197638073f3f167719831f17ff8 /doc/lispref/strings.texi
parentd5e4e004fa134cb81989bcf40c5d6c79b837301f (diff)
downloademacs-5f76ac150a28e4de940790f96f0f751c8ee5d4c7.tar.gz
emacs-5f76ac150a28e4de940790f96f0f751c8ee5d4c7.zip
Make the value nil in text-quoting-style mean what it does in Emacs 25.
This is a partial reversion of yesterday's commit by the same author, which changed the meaning of nil and introduced the new value t. * src/doc.c (text_quoting_style, text-quoting-style) (internal--text-quoting-flag): Revert yesterday's changes. * lisp/cus-start.el: (top level): Amend the entry for text-quoting-style. * etc/NEWS: Amend the entry for text-quoting-style. * doc/lispref/control.texi (Signalling Errors) * doc/lispref/display.texi (Displaying Messages) * doc/lispref/strings.texi (Formatting Strings): Bind text-quoting-style to grave rather than nil to inhibit translation of quotes. * doc/lispref/help.texi (Keys in Documentation): Revert the description of the proposed new default, t.
Diffstat (limited to 'doc/lispref/strings.texi')
-rw-r--r--doc/lispref/strings.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi
index 117a373a190..10385e05501 100644
--- a/doc/lispref/strings.texi
+++ b/doc/lispref/strings.texi
@@ -836,10 +836,10 @@ this'} typically generates curved quotes @t{‘like this’}. In
836contrast, a format that quotes with only apostrophes @t{'like this'} 836contrast, a format that quotes with only apostrophes @t{'like this'}
837typically generates two closing curved quotes @t{’like this’}, an 837typically generates two closing curved quotes @t{’like this’}, an
838unusual style in English. One way around such problems is to bind 838unusual style in English. One way around such problems is to bind
839@code{text-quoting-style} to @code{nil} around calls to 839@code{text-quoting-style} to the symbol @code{grave} around calls to
840@code{format-message}; this causes the @acronym{ASCII} quoting 840@code{format-message}; this causes @acronym{ASCII} quoting characters
841characters to be output unchanged. @xref{Keys in Documentation}, for 841to be output unchanged. @xref{Keys in Documentation}, for how the
842how the @code{text-quoting-style} variable affects generated quotes. 842@code{text-quoting-style} variable affects generated quotes.
843@end defun 843@end defun
844 844
845@cindex @samp{%} in format 845@cindex @samp{%} in format