aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorLars Ingebrigtsen2014-02-11 17:07:06 -0800
committerLars Ingebrigtsen2014-02-11 17:07:06 -0800
commit81bf542040dab0b67396323c5f78a425cfb886be (patch)
tree89155b9ed45316ea182596fa39bf2dd9af2f874d /src/buffer.c
parent26c5ecd9de74e9bff37bd176cb3a045cc645f84b (diff)
downloademacs-81bf542040dab0b67396323c5f78a425cfb886be.tar.gz
emacs-81bf542040dab0b67396323c5f78a425cfb886be.zip
* buffer.c (syms_of_buffer): Doc clarification.
Fixes: debbugs:9981
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 955c80eb44b..42c4c1306a9 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -6181,15 +6181,16 @@ same format as a regular save would use. */);
6181 DEFVAR_PER_BUFFER ("buffer-invisibility-spec", 6181 DEFVAR_PER_BUFFER ("buffer-invisibility-spec",
6182 &BVAR (current_buffer, invisibility_spec), Qnil, 6182 &BVAR (current_buffer, invisibility_spec), Qnil,
6183 doc: /* Invisibility spec of this buffer. 6183 doc: /* Invisibility spec of this buffer.
6184The default is t, which means that text is invisible 6184The default is t, which means that text is invisible if it has a non-nil
6185if it has a non-nil `invisible' property. 6185`invisible' property.
6186If the value is a list, a text character is invisible if its `invisible' 6186This variable can also be a list. The list can have two kinds of elements:
6187property is an element in that list (or is a list with members in common). 6187`ATOM' and `(ATOM . ELLIPSIS)'. A text character is invisible if its
6188If an element is a cons cell of the form (PROP . ELLIPSIS), 6188`invisible' property is `ATOM', or has an `invisible' property that is a list
6189then characters with property value PROP are invisible, 6189that contains `ATOM'.
6190and they have an ellipsis as well if ELLIPSIS is non-nil. 6190If the `(ATOM . ELLIPSIS)' form is used, and `ELLIPSIS' is non-nil, an
6191Setting this variable is very fast, much faster than scanning all the 6191ellipsis will be displayed after the invisible characters.
6192text in the buffer looking for properties to change. */); 6192Setting this variable is very fast, much faster than scanning all the text in
6193the buffer looking for properties to change. */);
6193 6194
6194 DEFVAR_PER_BUFFER ("buffer-display-count", 6195 DEFVAR_PER_BUFFER ("buffer-display-count",
6195 &BVAR (current_buffer, display_count), Qintegerp, 6196 &BVAR (current_buffer, display_count), Qintegerp,