diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-08-02 15:58:02 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-08-02 15:58:31 -0700 |
commit | fa10e77790a207aeabf354c9f5667b3dbde55bb2 (patch) | |
tree | 9ab7b0e8bbd340d76f34583aeaa7721c7f59008f /lisp/cus-start.el | |
parent | fc9206b73a254a400245578b94542cfe82c68e9c (diff) | |
download | emacs-fa10e77790a207aeabf354c9f5667b3dbde55bb2.tar.gz |
Redo text-quoting-style variable
Rename help-quote-translation to text-quoting-style,
and use symbols rather than characters as values.
This follows suggestions along these lines by Alan Mackenzie in:
http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00343.html
and by Drew Adams in:
http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00048.html
* doc/lispref/help.texi (Keys in Documentation)
* etc/NEWS:
* lisp/cus-start.el (standard):
* src/doc.c (Fsubstitute_command_keys, syms_of_doc):
Document and/or implement the new behavior instead of the old.
(syms_of_doc): New symbols 'grave' and 'straight'.
Diffstat (limited to 'lisp/cus-start.el')
-rw-r--r-- | lisp/cus-start.el | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el index 69dbf0d0c57..7a37198fb2c 100644 --- a/lisp/cus-start.el +++ b/lisp/cus-start.el @@ -221,14 +221,16 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of (no-redraw-on-reenter display boolean) ;; doc.c - (help-quote-translation help - (choice - (character :tag "Quote with curved quotes" - :value ?‘) - (character :tag "Quote 'like this'" :value ?\') - (character :tag "Quote `like this'" :value ?\`) - (const :tag "Quote with curved quotes if displayable, 'like this' otherwise" nil)) - "25.1") + (text-quoting-style + help + (choice + (const :tag "Quote with curved single quotes" curve) + (const :tag "Quote with straight apostrophes 'like this'" + straight) + (const :tag "Quote with grave accent and apostrophe `like this'" + grave) + (const :tag "Use curved quotes if displayable, grave accent and apostrophe otherwise" nil)) + "25.1") ;; dosfns.c (dos-display-scancodes display boolean) (dos-hyper-key keyboard integer) |