aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref/control.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/control.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/control.texi')
-rw-r--r--doc/lispref/control.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi
index 09435f57966..c39e035459e 100644
--- a/doc/lispref/control.texi
+++ b/doc/lispref/control.texi
@@ -1109,7 +1109,7 @@ quotes. In contrast, a call using a format like @t{"Missing '%s'"}
1109with only apostrophes typically generates a message like @t{"Missing 1109with only apostrophes typically generates a message like @t{"Missing
1110’foo’"} with only closing curved quotes, an unusual style in English. 1110’foo’"} with only closing curved quotes, an unusual style in English.
1111One way around this problem is to bind @code{text-quoting-style} to 1111One way around this problem is to bind @code{text-quoting-style} to
1112@code{nil} around the call to @code{error}; this causes the 1112the symbol @code{grave} around the call to @code{error}; this causes
1113@acronym{ASCII} quote characters to be output unchanged. 1113@acronym{ASCII} quote characters to be output unchanged.
1114 1114
1115@strong{Warning:} If you want to use your own string as an error message 1115@strong{Warning:} If you want to use your own string as an error message