commit 64c9d3c143170f7b1586886b4f621233bb7796dd
parent bec0cdcb5456bc1e6fd40745f7af78a7f1f31c69
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Thu, 7 Oct 2021 12:24:38 +0200
rcfile: remove the deprecated 'cutwordleft' and 'cutwordright' keywords
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/rcfile.c b/src/rcfile.c
@@ -312,11 +312,9 @@ keystruct *strtosc(const char *input)
s->func = do_indent;
else if (!strcmp(input, "unindent"))
s->func = do_unindent;
- else if (!strcmp(input, "chopwordleft") ||
- !strcmp(input, "cutwordleft")) /* Deprecated; remove in 2021. */
+ else if (!strcmp(input, "chopwordleft"))
s->func = chop_previous_word;
- else if (!strcmp(input, "chopwordright") ||
- !strcmp(input, "cutwordright")) /* Deprecated; remove in 2021. */
+ else if (!strcmp(input, "chopwordright"))
s->func = chop_next_word;
else if (!strcmp(input, "findbracket"))
s->func = do_find_bracket;