Make text-quoting-style customizable. Introduce t and new meaning for nil.
commitd5e4e004fa134cb81989bcf40c5d6c79b837301f
authorAlan Mackenzie <acm@muc.de>
Thu, 21 Sep 2017 20:31:06 +0000 (21 20:31 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 1 Oct 2017 11:27:15 +0000 (1 11:27 +0000)
tree7588a351b8bd89612cdb457979f84b5f9f90c826
parent1ba3471b9b443f0617662f4a50439bec211162ba
Make text-quoting-style customizable.  Introduce t and new meaning for nil.

A value of nil for text-quoting-style now means "no translation".  t means
"Use curved quotes if displayable".

* src/doc.c (text-quoting-style (function)): modify for new semantics.
(text-quoting-style (variable)): Amend the doc string, set the default value
to t.

* lisp/cus-start.el: (top level): Create a customize entry for
text-quoting-style in group display.

* etc/NEWS: Amend the entry for text-quoting-style.

* doc/emacs/display.texi (Text Display): Describe the translation of ASCII
quotes to curved quotes, and how to influence or inhibit it.

* doc/lispref/control.texi (Signalling Errors)
* doc/lispref/display.texi (Displaying Messages)
* doc/lispref/strings.texi (Formatting Strings): Describe binding
text-quoting-style to nil to inhibit unwanted quote translation.

* doc/lispref/help.texi (Keys in Documentation): Change text-quoting-style
from a variable to a user option.  Describe its changed set of values.  State
that it can be customized freely.
doc/emacs/display.texi
doc/lispref/control.texi
doc/lispref/display.texi
doc/lispref/help.texi
doc/lispref/strings.texi
etc/NEWS
lisp/cus-start.el
src/doc.c