From 3b9233f05fc82029529f74fdce0e453d7fb73997 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Sun, 25 Apr 2021 11:52:25 +0100 Subject: vi: adjust conditional compilation of modifying_cmds Since commit 74d565ff1 (vi: make context marks more like vi) the list of commands that modify the text is no longer required when FEATURE_VI_YANKMARK is enabled, only FEATURE_VI_DOT_CMD. Signed-off-by: Ron Yorston Signed-off-by: Denys Vlasenko --- editors/vi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors') diff --git a/editors/vi.c b/editors/vi.c index 77c4264..d818127 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -249,7 +249,7 @@ enum { //#define ESC_CURSOR_UP ESC"[A" //#define ESC_CURSOR_DOWN "\n" -#if ENABLE_FEATURE_VI_DOT_CMD || ENABLE_FEATURE_VI_YANKMARK +#if ENABLE_FEATURE_VI_DOT_CMD // cmds modifying text[] static const char modifying_cmds[] ALIGN1 = "aAcCdDiIJoOpPrRs""xX<>~"; #endif -- cgit v1.1