aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorAlan Mackenzie2015-06-18 21:00:20 +0000
committerAlan Mackenzie2015-06-18 21:08:02 +0000
commit52c3946c872c8bd96508f74cdda5cbb90c664306 (patch)
tree30c756647f4acea5c8c6d52fe59e9f49778f7541 /lisp
parent711e14ddad7fb1e80a86c79e37a957929e8c01a3 (diff)
downloademacs-52c3946c872c8bd96508f74cdda5cbb90c664306.tar.gz
emacs-52c3946c872c8bd96508f74cdda5cbb90c664306.zip
Make translation of quotes to curly in doc strings optional.
src/doc.c (traditional, prefer-unicode): new symbols. (help-quote-translation): new variable. (Fsubstitute_command_keys): make translation of quotes dependent on `help-quote-translation'; also translate curly quotes back to ASCII ones. lisp/cus-start.el (top-level): Add a customization entry for `help-quote-translation'.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/cus-start.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index 8740f075621..5dd36811436 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -220,7 +220,14 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of
220 (visible-bell display boolean) 220 (visible-bell display boolean)
221 (no-redraw-on-reenter display boolean) 221 (no-redraw-on-reenter display boolean)
222 222
223 ;; dosfns.c 223 ;; doc.c
224 (help-quote-translation help
225 (choice
226 (const :tag "No translation" nil)
227 (const :tag "Translate curly single quotes to ASCII" traditional)
228 (const :tag "Translate ASCII single quotes to curly" prefer-unicode)))
229
230 ;; dosfns.c
224 (dos-display-scancodes display boolean) 231 (dos-display-scancodes display boolean)
225 (dos-hyper-key keyboard integer) 232 (dos-hyper-key keyboard integer)
226 (dos-super-key keyboard integer) 233 (dos-super-key keyboard integer)