rcfile: remove the deprecated 'cutwordleft' and 'cutwordright' keywords

This commit is contained in:
Benno Schulenberg 2021-10-07 12:24:38 +02:00
parent bec0cdcb54
commit 64c9d3c143

View File

@ -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;