aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2016-01-05 17:49:50 +0200
committerEli Zaretskii2016-01-05 17:49:50 +0200
commit977d3eabe3c1a6eb3577f36117409d76c5ffc0b7 (patch)
tree7f32e8a900f5cbaaa233e525c72ebd57325f4d5e /src
parent229c3fa541398f6087147b7dc180b0b602c731dd (diff)
downloademacs-977d3eabe3c1a6eb3577f36117409d76c5ffc0b7.tar.gz
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)
Diffstat (limited to 'src')
-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. */);
5803 DEFVAR_PER_BUFFER ("selective-display", &BVAR (current_buffer, selective_display), 5803 DEFVAR_PER_BUFFER ("selective-display", &BVAR (current_buffer, selective_display),
5804 Qnil, 5804 Qnil,
5805 doc: /* Non-nil enables selective display. 5805 doc: /* Non-nil enables selective display.
5806
5806An integer N as value means display only lines 5807An integer N as value means display only lines
5807that start with less than N columns of space. 5808that start with less than N columns of space.
5809
5808A value of t means that the character ^M makes itself and 5810A value of t means that the character ^M makes itself and
5809all the rest of the line invisible; also, when saving the buffer 5811all the rest of the line invisible; also, when saving the buffer
5810in a file, save the ^M as a newline. */); 5812in a file, save the ^M as a newline. This usage is obsolete; use
5813overlays or text properties instead. */);
5811 5814
5812 DEFVAR_PER_BUFFER ("selective-display-ellipses", 5815 DEFVAR_PER_BUFFER ("selective-display-ellipses",
5813 &BVAR (current_buffer, selective_display_ellipses), 5816 &BVAR (current_buffer, selective_display_ellipses),