docs: mention that the 'nopauses' option is obsolete

master
Benno Schulenberg 2019-10-13 16:17:04 +02:00
parent 7f8851caa8
commit c51f5f4bff
4 changed files with 3 additions and 9 deletions

View File

@ -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.) (This can cause you to save non-POSIX text files.)
@item set nopauses @item set nopauses
Don't pause between warnings at startup. This means that only Obsolete option. Ignored.
the last one will be visible (when there are multiple ones).
@item set nowrap @item set nowrap
Deprecated option since it has become the default setting. Deprecated option since it has become the default setting.

View File

@ -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.) (This can cause you to save non-POSIX text files.)
.TP .TP
.B set nopauses .B set nopauses
Don't pause between warnings at startup. This means that only Obsolete option. Ignored.
the last one will be visible (when there are multiple ones).
.TP .TP
.B set nowrap .B set nowrap
Deprecated option since it has become the default setting. Deprecated option since it has become the default setting.

View File

@ -97,10 +97,6 @@
## Don't automatically add a newline when a file does not end with one. ## Don't automatically add a newline when a file does not end with one.
# set nonewlines # 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 ## Set operating directory. nano will not read or write files outside
## this directory and its subdirectories. Also, the current directory ## this directory and its subdirectories. Also, the current directory
## is changed to here, so any files are inserted from this dir. A blank ## is changed to here, so any files are inserted from this dir. A blank

View File

@ -67,7 +67,7 @@ static const rcoption rcopts[] = {
#endif #endif
{"nohelp", NO_HELP}, {"nohelp", NO_HELP},
{"nonewlines", NO_NEWLINES}, {"nonewlines", NO_NEWLINES},
{"nopauses", NO_PAUSES}, {"nopauses", NO_PAUSES}, /* Obsolete; remove in 2021. */
#ifdef ENABLE_WRAPPING #ifdef ENABLE_WRAPPING
{"nowrap", NO_WRAP}, /* Deprecated; remove in 2021. */ {"nowrap", NO_WRAP}, /* Deprecated; remove in 2021. */
#endif #endif