From: Bram Moolenaar Date: Fri, 11 Mar 2005 22:40:50 +0000 (+0000) Subject: updated for version 7.0059 X-Git-Tag: v7.0059~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df7b1ffe999e87cc67e23dc423f995cb56bc6fee;p=vim updated for version 7.0059 --- diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 42c609870..5f79af92c 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -3336,11 +3336,14 @@ set_one_cmd_context(xp, buff) xp->xp_pattern = arg; break; - /* Command modifiers: return the argument. */ + /* Command modifiers: return the argument. + * Also for commands with an argument that is a command. */ case CMD_aboveleft: + case CMD_argdo: case CMD_belowright: case CMD_botright: case CMD_browse: + case CMD_bufdo: case CMD_confirm: case CMD_debug: case CMD_folddoclosed: @@ -3352,10 +3355,12 @@ set_one_cmd_context(xp, buff) case CMD_leftabove: case CMD_lockmarks: case CMD_rightbelow: + case CMD_sandbox: case CMD_silent: case CMD_topleft: case CMD_verbose: case CMD_vertical: + case CMD_windo: return arg; #ifdef FEAT_SEARCH_EXTRA