Mercurial > vim
diff src/ex_cmds2.c @ 8220:ad9edad64d22 v7.4.1403
commit https://github.com/vim/vim/commit/0106e3d0bf8a38351af45331cbf3b9172a6bb90b
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 23 18:55:43 2016 +0100
patch 7.4.1403
Problem: Can't build without the quickfix feature.
Solution: Add #ifdefs. Call ex_ni() for unimplemented commands. (Yegappan
Lakshmanan)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 23 Feb 2016 19:00:05 +0100 |
parents | 05b88224cea1 |
children | 74b15ed0a259 |
line wrap: on
line diff
--- 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