mirror of git://git.sv.gnu.org/nano.git
rcfile: remove old bindable function 'nowrap', alias of 'breaklonglines'
The bindable function 'nowrap' has been deprecated for three years,
since version 5.5, commit e14127b8
.
(The obsolete options --nowrap and 'set nowrap' continue to exist.)
This commit is contained in:
parent
c26f901ba9
commit
b92cbf5f09
|
@ -1855,7 +1855,6 @@ position to the end of the line.
|
|||
|
||||
@item breaklonglines
|
||||
Toggles whether long lines will be hard-wrapped to the next line.
|
||||
(The old name of this function, 'nowrap', is deprecated.)
|
||||
|
||||
@item tabstospaces
|
||||
Toggles whether typed tabs will be converted to spaces.
|
||||
|
|
|
@ -1005,7 +1005,6 @@ position to the end of the line.
|
|||
.TP
|
||||
.B breaklonglines
|
||||
Toggles whether long lines will be hard-wrapped to the next line.
|
||||
(The old name of this function, 'nowrap', is deprecated.)
|
||||
.TP
|
||||
.B tabstospaces
|
||||
Toggles whether typed tabs will be converted to spaces.
|
||||
|
|
|
@ -470,8 +470,7 @@ keystruct *strtosc(const char *input)
|
|||
else if (!strcmp(input, "cutfromcursor"))
|
||||
s->toggle = CUT_FROM_CURSOR;
|
||||
#ifdef ENABLE_WRAPPING
|
||||
else if (!strcmp(input, "breaklonglines") ||
|
||||
!strcmp(input, "nowrap")) /* Deprecated; remove in 2024. */
|
||||
else if (!strcmp(input, "breaklonglines"))
|
||||
s->toggle = BREAK_LONG_LINES;
|
||||
#endif
|
||||
else if (!strcmp(input, "tabstospaces"))
|
||||
|
|
Loading…
Reference in New Issue