mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 18:00:40 -08:00
Fix pdf generation with Texinfo 6.7
* doc/lispref/display.texi (Size of Displayed Text): Put @group inside @example (bug#52102).
This commit is contained in:
parent
a22c9a34bd
commit
4d16a2f737
1 changed files with 2 additions and 2 deletions
|
|
@ -2026,14 +2026,14 @@ means hide the excess parts of @var{string} with a @code{display} text
|
|||
property (@pxref{Display Property}) showing the ellipsis, instead of
|
||||
actually truncating the string.
|
||||
|
||||
@group
|
||||
@example
|
||||
@group
|
||||
(truncate-string-to-width "\tab\t" 12 4)
|
||||
@result{} "ab"
|
||||
(truncate-string-to-width "\tab\t" 12 4 ?\s)
|
||||
@result{} " ab "
|
||||
@end example
|
||||
@end group
|
||||
@end example
|
||||
|
||||
This function uses @code{string-width} and @code{char-width} to find
|
||||
the suitable truncation point when @var{string} is too wide, so it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue