Don't break example string between 2 lines (bug#19257)
doc/lispref/text.texi (Comparing Text): Prevent a text string from being broken between 2 lines by using @w{}.
This commit is contained in:
parent
75b4857ef0
commit
d76b9b2a21
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2014-12-11 Eli Zaretskii <eliz@gnu.org>
|
||||||
|
|
||||||
|
* text.texi (Comparing Text): Prevent a text string from being
|
||||||
|
broken between 2 lines. (Bug#19257)
|
||||||
|
|
||||||
2014-11-19 Paul Eggert <eggert@cs.ucla.edu>
|
2014-11-19 Paul Eggert <eggert@cs.ucla.edu>
|
||||||
|
|
||||||
Lessen focus on ChangeLog files, as opposed to change log entries.
|
Lessen focus on ChangeLog files, as opposed to change log entries.
|
||||||
|
|
|
@ -343,10 +343,10 @@ This function ignores case when comparing characters
|
||||||
if @code{case-fold-search} is non-@code{nil}. It always ignores
|
if @code{case-fold-search} is non-@code{nil}. It always ignores
|
||||||
text properties.
|
text properties.
|
||||||
|
|
||||||
Suppose the current buffer contains the text @samp{foobarbar
|
Suppose you have the text @w{@samp{foobarbar haha!rara!}} in the
|
||||||
haha!rara!}; then in this example the two substrings are @samp{rbar }
|
current buffer; then in this example the two substrings are @samp{rbar
|
||||||
and @samp{rara!}. The value is 2 because the first substring is greater
|
} and @samp{rara!}. The value is 2 because the first substring is
|
||||||
at the second character.
|
greater at the second character.
|
||||||
|
|
||||||
@example
|
@example
|
||||||
(compare-buffer-substrings nil 6 11 nil 16 21)
|
(compare-buffer-substrings nil 6 11 nil 16 21)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue