Mercurial > emacs
changeset 60782:ab5e3944cf27
(Invisible Text): State default value of line-move-ignore-invisible.
(Managing Overlays): Document remove-overlays.
(Standard Faces): Document escape-glyph face.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 21 Mar 2005 17:47:42 +0000 |
parents | 4dec7a239cfa |
children | 73b73eabbe62 |
files | lispref/display.texi |
diffstat | 1 files changed, 18 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/display.texi Mon Mar 21 17:44:27 2005 +0000 +++ b/lispref/display.texi Mon Mar 21 17:47:42 2005 +0000 @@ -753,8 +753,8 @@ Ordinarily, functions that operate on text or move point do not care whether the text is invisible. The user-level line motion commands explicitly ignore invisible newlines if -@code{line-move-ignore-invisible} is non-@code{nil}, but only because -they are explicitly programmed to do so. +@code{line-move-ignore-invisible} is non-@code{nil} (the default), but +only because they are explicitly programmed to do so. However, if a command ends with point inside or immediately after invisible text, the main editing loop moves point further forward or @@ -1138,6 +1138,18 @@ ``lost''. @end defun +@defun remove-overlays &optional start end name value +This function removes all the overlays between @var{start} and +@var{end} whose property @var{name} has the value @var{value}. It can +move the endpoints of the overlays in the region, or split them. + +If @var{name} is omitted or nil, it means to delete all overlays in +the specified region. If @var{start} and/or @var{end} are omitted or +nil, that means the beginning and end of the buffer respectively. +Therefore, @code{(remove-overlays)} removes all the overlays in the +current buffer. +@end defun + Here are some examples: @example @@ -1718,6 +1730,10 @@ @kindex trailing-whitespace @r{(face name)} This face is used to display excess whitespace at the end of a line, if @code{show-trailing-whitespace} is non-@code{nil}. + +@item escape-glyph +@kindex escape-glyph @r{(face name)} +This face is used to display control characters and escape glyphs. @end table In contrast, these faces are provided to change the appearance of text