Variable: buffer-invisibility-spec
buffer-invisibility-spec is a buffer-local variable defined in
buffer.c.
Documentation
Invisibility spec of this buffer.
The default is t, which means that text is invisible if it has a non-nil
invisible property.
This variable can also be a list. The list can have two kinds of elements:
ATOM and (ATOM . ELLIPSIS). A text character is invisible if its
invisible property is ATOM, or has an invisible property that is a list
that contains ATOM.
If the (ATOM . ELLIPSIS) form is used, and ELLIPSIS is non-nil, an
ellipsis will be displayed after the invisible characters.
Setting this variable is very fast, much faster than scanning all the text in
the buffer looking for properties to change.
Probably introduced at or before Emacs version 19.29.
Source Code
// Defined in /usr/src/emacs/src/buffer.c
DEFVAR_PER_BUFFER ("buffer-invisibility-spec",
&BVAR (current_buffer, invisibility_spec), Qnil,
doc: /* Invisibility spec of this buffer.
The default is t, which means that text is invisible if it has a non-nil
`invisible' property.
This variable can also be a list. The list can have two kinds of elements:
`ATOM' and `(ATOM . ELLIPSIS)'. A text character is invisible if its
`invisible' property is `ATOM', or has an `invisible' property that is a list
that contains `ATOM'.
If the `(ATOM . ELLIPSIS)' form is used, and `ELLIPSIS' is non-nil, an
ellipsis will be displayed after the invisible characters.
Setting this variable is very fast, much faster than scanning all the text in
the buffer looking for properties to change. */);