From 64c9d3c143170f7b1586886b4f621233bb7796dd Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 7 Oct 2021 12:24:38 +0200 Subject: [PATCH] rcfile: remove the deprecated 'cutwordleft' and 'cutwordright' keywords --- src/rcfile.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/rcfile.c b/src/rcfile.c index 6b77b810..924e0fc5 100644 --- 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;