Mercurial > emacs
comparison lispref/display.texi @ 61972:874393fa8818
(Invisible Text): Correct add-to-invisibility-spec.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 01 May 2005 14:00:32 +0000 |
parents | 60784460465e |
children | f3d536670495 |
comparison
equal
deleted
inserted
replaced
61971:214d314c49cb | 61972:874393fa8818 |
---|---|
715 Two functions are specifically provided for adding elements to | 715 Two functions are specifically provided for adding elements to |
716 @code{buffer-invisibility-spec} and removing elements from it. | 716 @code{buffer-invisibility-spec} and removing elements from it. |
717 | 717 |
718 @defun add-to-invisibility-spec element | 718 @defun add-to-invisibility-spec element |
719 This function adds the element @var{element} to | 719 This function adds the element @var{element} to |
720 @code{buffer-invisibility-spec} (if it is not already present in that | 720 @code{buffer-invisibility-spec}. If @code{buffer-invisibility-spec} |
721 list). If @code{buffer-invisibility-spec} was @code{t}, it changes to | 721 was @code{t}, it changes to a list, @code{(t)}, so that text whose |
722 a list, @code{(t)}, so that text whose @code{invisible} property | 722 @code{invisible} property is @code{t} remains invisible. |
723 is @code{t} remains invisible. | |
724 @end defun | 723 @end defun |
725 | 724 |
726 @defun remove-from-invisibility-spec element | 725 @defun remove-from-invisibility-spec element |
727 This removes the element @var{element} from | 726 This removes the element @var{element} from |
728 @code{buffer-invisibility-spec}. This does nothing if @var{element} | 727 @code{buffer-invisibility-spec}. This does nothing if @var{element} |