From 2326a1c6e35dcb75ed7933e461fde6474fd82afa Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Thu, 18 Oct 2018 14:11:46 -0500 Subject: [PATCH] docs: document that view mode enables multibuffer mode Also, describe view mode in the info file the same way that the manual page does. --- doc/nano.1 | 4 +++- doc/nanorc.5 | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/nano.1 b/doc/nano.1 index 19888fde..8a185072 100644 --- a/doc/nano.1 +++ b/doc/nano.1 @@ -244,7 +244,9 @@ default behavior of saving a file in the format that it had. (This option has no effect when you also use \fB\-\-noconvert\fR.) .TP .BR \-v ", " \-\-view -Just view the file and disallow editing: read-only mode. +Just view the file and disallow editing: read-only mode. This also enables +multibuffer mode, unless another option is given that conflicts with having +multiple buffers. .TP .BR \-w ", " \-\-nowrap Disable the hard-wrapping of long lines. This option conflicts with diff --git a/doc/nanorc.5 b/doc/nanorc.5 index 50838e1a..b5c65606 100644 --- a/doc/nanorc.5 +++ b/doc/nanorc.5 @@ -280,7 +280,9 @@ default behavior of saving a file in the format that it had. (This option has no effect when you also use \fBset noconvert\fR.) .TP .B set view -Disallow file modification. +Just view the file and disallow editing: read-only mode. This also enables +multibuffer mode, unless another option is given that conflicts with having +multiple buffers. .TP .B set whitespace "\fIstring\fP" Set the two characters used to indicate the presence of tabs and -- 2.19.1