summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-01-05 17:49:50 +0200
committerEli Zaretskii <eliz@gnu.org>2016-01-05 17:49:50 +0200
commit977d3eabe3c1a6eb3577f36117409d76c5ffc0b7 (patch)
tree7f32e8a900f5cbaaa233e525c72ebd57325f4d5e
parent229c3fa541398f6087147b7dc180b0b602c731dd (diff)
downloademacs-977d3eabe3c1a6eb3577f36117409d76c5ffc0b7.tar.gz
emacs-977d3eabe3c1a6eb3577f36117409d76c5ffc0b7.tar.bz2
emacs-977d3eabe3c1a6eb3577f36117409d76c5ffc0b7.zip
Update doc string of 'selective-display'
* src/buffer.c (syms_of_buffer) <selective-display>: Say that using it with the value of 't' is obsolete. (Bug#1092)
-rw-r--r--src/buffer.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 51c36de0c6b..493312b52bf 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5803,11 +5803,14 @@ you probably should set this to -2 in that buffer. */);
DEFVAR_PER_BUFFER ("selective-display", &BVAR (current_buffer, selective_display),
Qnil,
doc: /* Non-nil enables selective display.
+
An integer N as value means display only lines
that start with less than N columns of space.
+
A value of t means that the character ^M makes itself and
all the rest of the line invisible; also, when saving the buffer
-in a file, save the ^M as a newline. */);
+in a file, save the ^M as a newline. This usage is obsolete; use
+overlays or text properties instead. */);
DEFVAR_PER_BUFFER ("selective-display-ellipses",
&BVAR (current_buffer, selective_display_ellipses),