diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-02-23 18:55:43 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-02-23 18:55:43 +0100 |
commit | 0106e3d0bf8a38351af45331cbf3b9172a6bb90b (patch) | |
tree | 8bc142ad7ff048dee9bcd0ddeb200327e34bd972 /src/ex_cmds2.c | |
parent | 9892189d2e7ab94b750f99e6da4cbfc3c8014517 (diff) | |
download | vim-git-0106e3d0bf8a38351af45331cbf3b9172a6bb90b.tar.gz |
patch 7.4.1403v7.4.1403
Problem: Can't build without the quickfix feature.
Solution: Add #ifdefs. Call ex_ni() for unimplemented commands. (Yegappan
Lakshmanan)
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r-- | src/ex_cmds2.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index ec20daaeb..3f8c50816 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -2442,7 +2442,7 @@ ex_next(exarg_T *eap) } } -#ifdef FEAT_LISTCMDS +#if defined(FEAT_LISTCMDS) || defined(PROTO) /* * ":argedit" */ @@ -2565,6 +2565,15 @@ ex_listdo(exarg_T *eap) } #endif +#ifndef FEAT_QUICKFIX + if (eap->cmdidx == CMD_cdo || eap->cmdidx == CMD_ldo || + eap->cmdidx == CMD_cfdo || eap->cmdidx == CMD_lfdo) + { + ex_ni(eap); + return; + } +#endif + #if defined(FEAT_AUTOCMD) && defined(FEAT_SYN_HL) if (eap->cmdidx != CMD_windo && eap->cmdidx != CMD_tabdo) /* Don't do syntax HL autocommands. Skipping the syntax file is a |