From 81bf542040dab0b67396323c5f78a425cfb886be Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 11 Feb 2014 17:07:06 -0800 Subject: [PATCH] * buffer.c (syms_of_buffer): Doc clarification. Fixes: debbugs:9981 --- src/ChangeLog | 4 ++++ src/buffer.c | 19 ++++++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index f0f437d9cd..6ba2a935b5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2014-02-12 Lars Ingebrigtsen + + * buffer.c (syms_of_buffer): Doc clarification (bug#9981). + 2014-02-11 Glenn Morris * nsfns.m (ns_display_info_for_name, Fx_open_connection): diff --git a/src/buffer.c b/src/buffer.c index 955c80eb44..42c4c1306a 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -6181,15 +6181,16 @@ same format as a regular save would use. */); 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. -If the value is a list, a text character is invisible if its `invisible' -property is an element in that list (or is a list with members in common). -If an element is a cons cell of the form (PROP . ELLIPSIS), -then characters with property value PROP are invisible, -and they have an ellipsis as well if ELLIPSIS is non-nil. -Setting this variable is very fast, much faster than scanning all the -text in the buffer looking for properties to change. */); +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. */); DEFVAR_PER_BUFFER ("buffer-display-count", &BVAR (current_buffer, display_count), Qintegerp, -- 2.20.1