diff options
| author | Paul Eggert | 2015-09-02 13:55:41 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-09-02 13:57:56 -0700 |
| commit | a9706c6cc16baeaf49b1dfc4badc0254870c449d (patch) | |
| tree | 3b37655e0942c7d1e607a61dd14859456f3df6ae /doc | |
| parent | fa5a9c7bae6d484107162641d16b1b38312ac225 (diff) | |
| download | emacs-a9706c6cc16baeaf49b1dfc4badc0254870c449d.tar.gz emacs-a9706c6cc16baeaf49b1dfc4badc0254870c449d.zip | |
Follow text-quoting-style in display table init
This attempts to fix a problem reported by Alan Mackenzie in:
http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00112.html
* doc/lispref/display.texi (Active Display Table):
Mention how text-quoting-style affects it.
* doc/lispref/help.texi (Keys in Documentation):
Say how to set text-quoting-style in ~/.emacs.
* etc/NEWS: Document the change.
* lisp/startup.el (startup--setup-quote-display):
Follow user preference if text-quoting-style is set.
(command-line): Setup quote display again if user expresses
a preference in .emacs.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/display.texi | 8 | ||||
| -rw-r--r-- | doc/lispref/help.texi | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 9d82edc9a98..14e2cd363a4 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -6531,8 +6531,12 @@ no buffer display table. | |||
| 6531 | The value of this variable is the standard display table, which is | 6531 | The value of this variable is the standard display table, which is |
| 6532 | used when Emacs is displaying a buffer in a window with neither a | 6532 | used when Emacs is displaying a buffer in a window with neither a |
| 6533 | window display table nor a buffer display table defined, or when Emacs | 6533 | window display table nor a buffer display table defined, or when Emacs |
| 6534 | is outputting text to the standard output or error streams. Its | 6534 | is outputting text to the standard output or error streams. Although its |
| 6535 | default is @code{nil}. | 6535 | default is typically @code{nil}, in an interactive session if the |
| 6536 | locale cannot display curved quotes, or if the initial value of | ||
| 6537 | @code{text-quoting-style} specifies a preference for ASCII, its | ||
| 6538 | default maps curved quotes to ASCII approximations. @xref{Keys in | ||
| 6539 | Documentation}. | ||
| 6536 | @end defvar | 6540 | @end defvar |
| 6537 | 6541 | ||
| 6538 | The @file{disp-table} library defines several functions for changing | 6542 | The @file{disp-table} library defines several functions for changing |
diff --git a/doc/lispref/help.texi b/doc/lispref/help.texi index 44c09a2085a..89339ffe575 100644 --- a/doc/lispref/help.texi +++ b/doc/lispref/help.texi | |||
| @@ -345,7 +345,9 @@ quotes. If the variable's value is @code{curve}, the style is | |||
| 345 | apostrophes. If the value is @code{grave}, the style is @t{`like | 345 | apostrophes. If the value is @code{grave}, the style is @t{`like |
| 346 | this'} with grave accent and apostrophe. The default value @code{nil} | 346 | this'} with grave accent and apostrophe. The default value @code{nil} |
| 347 | acts like @code{curve} if curved single quotes are displayable, and | 347 | acts like @code{curve} if curved single quotes are displayable, and |
| 348 | like @code{grave} otherwise. | 348 | like @code{grave} otherwise. To use the traditional @code{grave} |
| 349 | style, put the line @code{(setq text-quoting-style 'grave)} into your | ||
| 350 | @file{~/.emacs} file. | ||
| 349 | @end defvar | 351 | @end defvar |
| 350 | 352 | ||
| 351 | @defun substitute-command-keys string | 353 | @defun substitute-command-keys string |