diff options
| author | Paul Eggert | 2015-08-02 15:58:02 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-08-02 15:58:31 -0700 |
| commit | fa10e77790a207aeabf354c9f5667b3dbde55bb2 (patch) | |
| tree | 9ab7b0e8bbd340d76f34583aeaa7721c7f59008f /doc | |
| parent | fc9206b73a254a400245578b94542cfe82c68e9c (diff) | |
| download | emacs-fa10e77790a207aeabf354c9f5667b3dbde55bb2.tar.gz emacs-fa10e77790a207aeabf354c9f5667b3dbde55bb2.zip | |
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 'doc')
| -rw-r--r-- | doc/lispref/help.texi | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/lispref/help.texi b/doc/lispref/help.texi index 779a0d581e2..ca8ae3f314a 100644 --- a/doc/lispref/help.texi +++ b/doc/lispref/help.texi | |||
| @@ -347,18 +347,18 @@ and @samp{\=\=} puts @samp{\=} into the output. | |||
| 347 | @strong{Please note:} Each @samp{\} must be doubled when written in a | 347 | @strong{Please note:} Each @samp{\} must be doubled when written in a |
| 348 | string in Emacs Lisp. | 348 | string in Emacs Lisp. |
| 349 | 349 | ||
| 350 | @defvar help-quote-translation | 350 | @defvar text-quoting-style |
| 351 | @cindex curved quotes | 351 | @cindex curved quotes |
| 352 | @cindex curly quotes | 352 | @cindex curly quotes |
| 353 | The value of this variable specifies the style | 353 | The value of this variable specifies the style |
| 354 | @code{substitute-command-keys} uses when generating left and right | 354 | @code{substitute-command-keys} uses when generating left and right |
| 355 | quotes. If the variable's value is @code{?‘} (U+2018 LEFT SINGLE | 355 | quotes. If the variable's value is @code{curve}, the style is |
| 356 | QUOTATION MARK), the style is @t{‘like this’} with curved single | 356 | @t{‘like this’} with curved single quotes. If the value is |
| 357 | quotes. If the value is @code{?'} (apostrophe), the style is @t{'like | 357 | @code{straight}, the style is @t{'like this'} with straight |
| 358 | this'} with apostrophes. If the value is @code{?`} (grave accent), | 358 | apostrophes. If the value is @code{grave}, the style is @t{`like |
| 359 | the style is @t{`like this'} with grave accent and apostrophe. The | 359 | this'} with grave accent and apostrophe. The default value @code{nil} |
| 360 | default value @code{nil} means to use curved single quotes if | 360 | acts like @code{curve} if curved single quotes are displayable, and |
| 361 | displayable, and grave accent and apostrophe otherwise. | 361 | like @code{grave} otherwise. |
| 362 | @end defvar | 362 | @end defvar |
| 363 | 363 | ||
| 364 | @defun substitute-command-keys string | 364 | @defun substitute-command-keys string |