diff options
| author | Stefan Kangas | 2021-05-06 16:31:20 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2021-05-06 16:31:20 +0200 |
| commit | 74a4f3e043455364fddb1becc2da0c4be42e78e0 (patch) | |
| tree | 8805992f415c46041b315ea8217bf42def466504 /src/doc.c | |
| parent | 220845be11acbb08f719d327c8088ea7a414ef59 (diff) | |
| download | emacs-74a4f3e043455364fddb1becc2da0c4be42e78e0.tar.gz emacs-74a4f3e043455364fddb1becc2da0c4be42e78e0.zip | |
Improve formatting in text-quoting-style docstring
* src/doc.c (syms_of_doc) <text-quoting-style>: Doc fix; improve
formatting for readability.
Diffstat (limited to 'src/doc.c')
| -rw-r--r-- | src/doc.c | 24 |
1 files changed, 13 insertions, 11 deletions
| @@ -719,17 +719,19 @@ syms_of_doc (void) | |||
| 719 | 719 | ||
| 720 | DEFVAR_LISP ("text-quoting-style", Vtext_quoting_style, | 720 | DEFVAR_LISP ("text-quoting-style", Vtext_quoting_style, |
| 721 | doc: /* Style to use for single quotes in help and messages. | 721 | doc: /* Style to use for single quotes in help and messages. |
| 722 | Its value should be a symbol. It works by substituting certain single | 722 | |
| 723 | quotes for grave accent and apostrophe. This is done in help output | 723 | This works by substituting certain single quotes for grave accent and |
| 724 | \(but not for display of Info manuals) and in functions like `message' | 724 | apostrophe. This is done in help output (but not for display of Info |
| 725 | and `format-message'. It is not done in `format'. | 725 | manuals) and in functions like `message' and `format-message'. It is |
| 726 | 726 | not done in `format'. | |
| 727 | `curve' means quote with curved single quotes ‘like this’. | 727 | |
| 728 | `straight' means quote with straight apostrophes \\='like this\\='. | 728 | Its value should be one of these symbols: |
| 729 | `grave' means quote with grave accent and apostrophe \\=`like this\\='; | 729 | `curve': quote with curved single quotes ‘like this’. |
| 730 | i.e., do not alter quote marks. The default value nil acts like | 730 | `straight': quote with straight apostrophes \\='like this\\='. |
| 731 | `curve' if curved single quotes are displayable, and like `grave' | 731 | `grave': quote with grave accent and apostrophe \\=`like this\\='; |
| 732 | otherwise. */); | 732 | i.e., do not alter quote marks. |
| 733 | nil: like `curve' if curved single quotes are displayable, | ||
| 734 | and like `grave' otherwise. */); | ||
| 733 | Vtext_quoting_style = Qnil; | 735 | Vtext_quoting_style = Qnil; |
| 734 | 736 | ||
| 735 | DEFVAR_BOOL ("internal--text-quoting-flag", text_quoting_flag, | 737 | DEFVAR_BOOL ("internal--text-quoting-flag", text_quoting_flag, |