From 977d3eabe3c1a6eb3577f36117409d76c5ffc0b7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 5 Jan 2016 17:49:50 +0200 Subject: [PATCH] Update doc string of 'selective-display' * src/buffer.c (syms_of_buffer) : Say that using it with the value of 't' is obsolete. (Bug#1092) --- src/buffer.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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), -- 2.39.2