options: retire 'set backwards' -- it's still recognized but a no-op

master
Benno Schulenberg 2017-10-14 20:49:12 +02:00
parent 3f735d22a1
commit fc36ff7275
4 changed files with 5 additions and 5 deletions

View File

@ -703,7 +703,8 @@ with @code{set backup} or @option{--backup} or @option{-B}.
The uniquely numbered files are stored in the specified directory. The uniquely numbered files are stored in the specified directory.
@item set backwards @item set backwards
Do backwards searches by default. Obsolete option. Recognized but ignored. @code{^Q} is available to
start a backward search.
@item set boldtext @item set boldtext
Use bold instead of reverse video for the title bar, status bar, key combos, Use bold instead of reverse video for the title bar, status bar, key combos,

View File

@ -74,7 +74,8 @@ with \fBset backup\fR or \fB\-\-backup\fR or \fB\-B\fR.
The uniquely numbered files are stored in the specified \fIdirectory\fR. The uniquely numbered files are stored in the specified \fIdirectory\fR.
.TP .TP
.B set backwards .B set backwards
Do backwards searches by default. Obsolete option. Recognized but ignored. \fB^Q\fR is available to
start a backward search.
.TP .TP
.B set boldtext .B set boldtext
Use bold instead of reverse video for the title bar, status bar, key combos, Use bold instead of reverse video for the title bar, status bar, key combos,

View File

@ -33,9 +33,6 @@
## The directory to put unique backup files in. ## The directory to put unique backup files in.
# set backupdir "" # set backupdir ""
## Do backwards searches by default.
# set backwards
## Use bold text instead of reverse video text. ## Use bold text instead of reverse video text.
# set boldtext # set boldtext

View File

@ -2455,6 +2455,7 @@ int main(int argc, char **argv)
/* Initialize the search string. */ /* Initialize the search string. */
last_search = mallocstrcpy(NULL, ""); last_search = mallocstrcpy(NULL, "");
UNSET(BACKWARDS_SEARCH);
/* If tabsize wasn't specified, set its default value. */ /* If tabsize wasn't specified, set its default value. */
if (tabsize == -1) if (tabsize == -1)