diff options
| author | Lars Ingebrigtsen | 2014-02-11 17:07:06 -0800 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2014-02-11 17:07:06 -0800 |
| commit | 81bf542040dab0b67396323c5f78a425cfb886be (patch) | |
| tree | 89155b9ed45316ea182596fa39bf2dd9af2f874d /src/buffer.c | |
| parent | 26c5ecd9de74e9bff37bd176cb3a045cc645f84b (diff) | |
| download | emacs-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.c | 19 |
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. |
| 6184 | The default is t, which means that text is invisible | 6184 | The default is t, which means that text is invisible if it has a non-nil |
| 6185 | if it has a non-nil `invisible' property. | 6185 | `invisible' property. |
| 6186 | If the value is a list, a text character is invisible if its `invisible' | 6186 | This variable can also be a list. The list can have two kinds of elements: |
| 6187 | property 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 |
| 6188 | If 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 |
| 6189 | then characters with property value PROP are invisible, | 6189 | that contains `ATOM'. |
| 6190 | and they have an ellipsis as well if ELLIPSIS is non-nil. | 6190 | If the `(ATOM . ELLIPSIS)' form is used, and `ELLIPSIS' is non-nil, an |
| 6191 | Setting this variable is very fast, much faster than scanning all the | 6191 | ellipsis will be displayed after the invisible characters. |
| 6192 | text in the buffer looking for properties to change. */); | 6192 | Setting this variable is very fast, much faster than scanning all the text in |
| 6193 | the 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, |