aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/control.texi11
-rw-r--r--doc/lispref/customize.texi9
-rw-r--r--doc/lispref/display.texi11
-rw-r--r--doc/lispref/help.texi4
-rw-r--r--doc/lispref/strings.texi10
5 files changed, 32 insertions, 13 deletions
diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi
index 3f48c458c02..0cdb03548bf 100644
--- a/doc/lispref/control.texi
+++ b/doc/lispref/control.texi
@@ -1100,10 +1100,13 @@ These examples show typical uses of @code{error}:
1100error symbol @code{error}, and a list containing the string returned by 1100error symbol @code{error}, and a list containing the string returned by
1101@code{format-message}. 1101@code{format-message}.
1102 1102
1103In a format string containing single quotes, curved quotes @t{‘like 1103The @code{text-quoting-style} variable controls what quotes are
1104this’} and grave quotes @t{`like this'} work better than straight 1104generated; @xref{Keys in Documentation}. A call using a format like
1105quotes @t{'like this'}, as @code{error} typically formats every 1105@t{"Missing `%s'"} with grave accents and apostrophes typically
1106straight quote as a curved closing quote. 1106generates a message like @t{"Missing ‘foo’"} with matching curved
1107quotes. In contrast, a call using a format like @t{"Missing '%s'"}
1108with only apostrophes typically generates a message like @t{"Missing
1109’foo’"} with only closing curved quotes, an unusual style in English.
1107 1110
1108@strong{Warning:} If you want to use your own string as an error message 1111@strong{Warning:} If you want to use your own string as an error message
1109verbatim, don't just write @code{(error @var{string})}. If @var{string} 1112verbatim, don't just write @code{(error @var{string})}. If @var{string}
diff --git a/doc/lispref/customize.texi b/doc/lispref/customize.texi
index 14e6eb3ab25..4a6f7f2162b 100644
--- a/doc/lispref/customize.texi
+++ b/doc/lispref/customize.texi
@@ -66,9 +66,12 @@ cause confusion.}
66 66
67@kindex group@r{, customization keyword} 67@kindex group@r{, customization keyword}
68@item :group @var{group} 68@item :group @var{group}
69Put this customization item in group @var{group}. When you use 69Put this customization item in group @var{group}. If this keyword is
70@code{:group} in a @code{defgroup}, it makes the new group a subgroup of 70missing from a customization item, it'll be placed in the same group
71@var{group}. 71that was last defined (in the current file).
72
73When you use @code{:group} in a @code{defgroup}, it makes the new
74group a subgroup of @var{group}.
72 75
73If you use this keyword more than once, you can put a single item into 76If you use this keyword more than once, you can put a single item into
74more than one group. Displaying any of those groups will show this 77more than one group. Displaying any of those groups will show this
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 3673d114041..87126f9167a 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -265,10 +265,13 @@ properties, it is displayed with the specified faces (@pxref{Faces}).
265The string is also added to the @file{*Messages*} buffer, but without 265The string is also added to the @file{*Messages*} buffer, but without
266text properties (@pxref{Logging Messages}). 266text properties (@pxref{Logging Messages}).
267 267
268In a format string containing single quotes, curved quotes @t{‘like 268The @code{text-quoting-style} variable controls what quotes are
269this’} and grave quotes @t{`like this'} work better than straight 269generated; @xref{Keys in Documentation}. A call using a format like
270quotes @t{'like this'}, as @code{message} typically formats every 270@t{"Missing `%s'"} with grave accents and apostrophes typically
271straight quote as a curved closing quote. 271generates a message like @t{"Missing ‘foo’"} with matching curved
272quotes. In contrast, a call using a format like @t{"Missing '%s'"}
273with only apostrophes typically generates a message like @t{"Missing
274’foo’"} with only closing curved quotes, an unusual style in English.
272 275
273In batch mode, the message is printed to the standard error stream, 276In batch mode, the message is printed to the standard error stream,
274followed by a newline. 277followed by a newline.
diff --git a/doc/lispref/help.texi b/doc/lispref/help.texi
index 58a11f29a4c..b945e438f55 100644
--- a/doc/lispref/help.texi
+++ b/doc/lispref/help.texi
@@ -335,10 +335,14 @@ specifies @var{mapvar}'s value as the keymap for any following
335@item ‘ 335@item ‘
336@itemx ` 336@itemx `
337(left single quotation mark and grave accent) both stand for a left quote. 337(left single quotation mark and grave accent) both stand for a left quote.
338This generates a left single quotation mark, an apostrophe, or a grave
339accent depending on the value of @code{text-quoting-style}.
338 340
339@item ’ 341@item ’
340@itemx ' 342@itemx '
341(right single quotation mark and apostrophe) both stand for a right quote. 343(right single quotation mark and apostrophe) both stand for a right quote.
344This generates a right single quotation mark or an apostrophe
345depending on the value of @code{text-quoting-style}.
342 346
343@item \= 347@item \=
344quotes the following character and is discarded; thus, @samp{\=`} puts 348quotes the following character and is discarded; thus, @samp{\=`} puts
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi
index ce629aa8259..58ab02dbc41 100644
--- a/doc/lispref/strings.texi
+++ b/doc/lispref/strings.texi
@@ -842,8 +842,14 @@ if any.
842This function acts like @code{format}, except it also converts any 842This function acts like @code{format}, except it also converts any
843curved single quotes in @var{string} as per the value of 843curved single quotes in @var{string} as per the value of
844@code{text-quoting-style}, and treats grave accent (@t{`}) and 844@code{text-quoting-style}, and treats grave accent (@t{`}) and
845apostrophe (@t{'}) as if they were curved single quotes. @xref{Keys 845apostrophe (@t{'}) as if they were curved single quotes.
846in Documentation}. 846
847A format that quotes with grave accents and apostrophes @t{`like
848this'} typically generates curved quotes @t{‘like this’}. In
849contrast, a format that quotes with only apostrophes @t{'like this'}
850typically generates two closing curved quotes @t{’like this’}, an
851unusual style in English. @xref{Keys in Documentation}, for how the
852@code{text-quoting-style} variable affects generated quotes.
847@end defun 853@end defun
848 854
849@cindex @samp{%} in format 855@cindex @samp{%} in format