commit c51f5f4bff031a2b4104c5e9dc852db803e196b0
parent 7f8851caa816734c7df3a6c8be1529412e7ac419
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 13 Oct 2019 16:17:04 +0200
docs: mention that the 'nopauses' option is obsolete
Diffstat:
4 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/doc/nano.texi b/doc/nano.texi
@@ -845,8 +845,7 @@ Don't automatically add a newline when a text does not end with one.
(This can cause you to save non-POSIX text files.)
@item set nopauses
-Don't pause between warnings at startup. This means that only
-the last one will be visible (when there are multiple ones).
+Obsolete option. Ignored.
@item set nowrap
Deprecated option since it has become the default setting.
diff --git a/doc/nanorc.5 b/doc/nanorc.5
@@ -183,8 +183,7 @@ Don't automatically add a newline when a text does not end with one.
(This can cause you to save non-POSIX text files.)
.TP
.B set nopauses
-Don't pause between warnings at startup. This means that only
-the last one will be visible (when there are multiple ones).
+Obsolete option. Ignored.
.TP
.B set nowrap
Deprecated option since it has become the default setting.
diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in
@@ -97,10 +97,6 @@
## Don't automatically add a newline when a file does not end with one.
# set nonewlines
-## Don't pause between warnings at startup. Which means that only the
-## last one will be readable (when there are multiple ones).
-# set nopauses
-
## Set operating directory. nano will not read or write files outside
## this directory and its subdirectories. Also, the current directory
## is changed to here, so any files are inserted from this dir. A blank
diff --git a/src/rcfile.c b/src/rcfile.c
@@ -67,7 +67,7 @@ static const rcoption rcopts[] = {
#endif
{"nohelp", NO_HELP},
{"nonewlines", NO_NEWLINES},
- {"nopauses", NO_PAUSES},
+ {"nopauses", NO_PAUSES}, /* Obsolete; remove in 2021. */
#ifdef ENABLE_WRAPPING
{"nowrap", NO_WRAP}, /* Deprecated; remove in 2021. */
#endif