doc: state that replace-ranges' replacements are markup strings
The term "display line" is only used in source code.
This commit is contained in:
parent
aad20f6576
commit
3385c6a20e
|
@ -154,7 +154,8 @@ add-highlighter window/ ranges my_range
|
||||||
*replace-ranges* <option_name>::
|
*replace-ranges* <option_name>::
|
||||||
use the data in the `range-specs` option of the given name to highlight
|
use the data in the `range-specs` option of the given name to highlight
|
||||||
the buffer. The string part of each tuple of the range-specs is
|
the buffer. The string part of each tuple of the range-specs is
|
||||||
interpreted as a *display line* to display in place of the range.
|
interpreted as markup string (see <<faces#markup-strings,
|
||||||
|
`:doc faces markup-strings`>>) and displayed in place of the range.
|
||||||
Here, the 3 first chars of the buffer will be replaced by the word 'red':
|
Here, the 3 first chars of the buffer will be replaced by the word 'red':
|
||||||
|
|
||||||
--------------------------------------------------------
|
--------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user