Mercurial > vim
diff src/evalfunc.c @ 11263:ae5f9f26f81c v8.0.0517
patch 8.0.0517: there is no way to remove quickfix lists
commit https://github.com/vim/vim/commit/b6fa30ccc39cdb7f1d07b99fe2f4c6b61671dac2
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 29 14:19:25 2017 +0200
patch 8.0.0517: there is no way to remove quickfix lists
Problem: There is no way to remove quickfix lists (for testing).
Solution: Add the 'f' action to setqflist(). Add tests. (Yegappan
Lakshmanan)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 29 Mar 2017 14:30:06 +0200 |
parents | 918942a3b0ef |
children | 0c091a7c588c |
line wrap: on
line diff
--- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -10038,7 +10038,8 @@ set_qf_ll_list( act = get_tv_string_chk(action_arg); if (act == NULL) return; /* type error; errmsg already given */ - if ((*act == 'a' || *act == 'r' || *act == ' ') && act[1] == NUL) + if ((*act == 'a' || *act == 'r' || *act == ' ' || *act == 'f') && + act[1] == NUL) action = *act; else EMSG2(_(e_invact), act);