diff options
| author | Alan Mackenzie | 2016-05-04 19:59:50 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2016-05-04 19:59:50 +0000 |
| commit | 32f5bf0c29bbad6524f71079e4380b8156289551 (patch) | |
| tree | 3d9270640d73442c28880296bfd6a16613c1b3d4 /src/coding.c | |
| parent | 088acab3831b45e0e0749705226b8680076df4b6 (diff) | |
| download | emacs-32f5bf0c29bbad6524f71079e4380b8156289551.tar.gz emacs-32f5bf0c29bbad6524f71079e4380b8156289551.zip | |
Allow `text-quoting-style' to be `leave', i.e. no translation of quotes.
* lisp/help-fns.el (describe-function-1): Don't set coding system to UTF-8
when text-quoting-style is `leave'.
* src/lisp.h (enum text_quoting_style): Add identifier LEAVE_QUOTING_STYLE.
* src/doc.c (syms_of_doc): New symbol "leave". Amend doc string of
`text_quoting_style'.
(text_quoting_style): Handle `leave' by returning LEAVE_QUOTING_STYLE.
(Fsubstitute_command_keys): Don't translate quotes when quoting_style is
LEAVE_QUOTING_STYLE.
* src/editfns.c (styled_format): Set quoting_style to -1 when
text-quoting-style is `leave'.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions