mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-26 22:59:38 +03:00
rcfile: remove the deprecated 'cutwordleft' and 'cutwordright' keywords
This commit is contained in:
parent
bec0cdcb54
commit
64c9d3c143
@ -312,11 +312,9 @@ keystruct *strtosc(const char *input)
|
|||||||
s->func = do_indent;
|
s->func = do_indent;
|
||||||
else if (!strcmp(input, "unindent"))
|
else if (!strcmp(input, "unindent"))
|
||||||
s->func = do_unindent;
|
s->func = do_unindent;
|
||||||
else if (!strcmp(input, "chopwordleft") ||
|
else if (!strcmp(input, "chopwordleft"))
|
||||||
!strcmp(input, "cutwordleft")) /* Deprecated; remove in 2021. */
|
|
||||||
s->func = chop_previous_word;
|
s->func = chop_previous_word;
|
||||||
else if (!strcmp(input, "chopwordright") ||
|
else if (!strcmp(input, "chopwordright"))
|
||||||
!strcmp(input, "cutwordright")) /* Deprecated; remove in 2021. */
|
|
||||||
s->func = chop_next_word;
|
s->func = chop_next_word;
|
||||||
else if (!strcmp(input, "findbracket"))
|
else if (!strcmp(input, "findbracket"))
|
||||||
s->func = do_find_bracket;
|
s->func = do_find_bracket;
|
||||||
|
Loading…
Reference in New Issue
Block a user