* buffer.c (syms_of_buffer): Doc clarification.
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 12 Feb 2014 01:07:06 +0000 (17:07 -0800)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 12 Feb 2014 01:07:06 +0000 (17:07 -0800)
Fixes: debbugs:9981

src/ChangeLog
src/buffer.c

index f0f437d..6ba2a93 100644 (file)
@@ -1,3 +1,7 @@
+2014-02-12  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * buffer.c (syms_of_buffer): Doc clarification (bug#9981).
+
 2014-02-11  Glenn Morris  <rgm@gnu.org>
 
        * nsfns.m (ns_display_info_for_name, Fx_open_connection):
index 955c80e..42c4c13 100644 (file)
@@ -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,