Mercurial > vim
comparison src/ex_cmds2.c @ 20565:5788b78a1af0 v8.2.0836
patch 8.2.0836: not all :cdo output is visible
Commit: https://github.com/vim/vim/commit/14798ab9a5ee4b94f6c12f1986207569356acfc8
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 28 21:30:11 2020 +0200
patch 8.2.0836: not all :cdo output is visible
Problem: Not all :cdo output is visible.
Solution: Reset 'shortmess' temporarily. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/6155)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 28 May 2020 21:45:03 +0200 |
parents | aadd1cae2ff5 |
children | a0b147774bd4 |
comparison
equal
deleted
inserted
replaced
20564:63370fc0b915 | 20565:5788b78a1af0 |
---|---|
641 if (i >= qf_size || i >= eap->line2) | 641 if (i >= qf_size || i >= eap->line2) |
642 break; | 642 break; |
643 | 643 |
644 qf_idx = qf_get_cur_idx(eap); | 644 qf_idx = qf_get_cur_idx(eap); |
645 | 645 |
646 // Clear 'shm' to avoid that the file message overwrites | |
647 // any output from the command. | |
648 p_shm_save = vim_strsave(p_shm); | |
649 set_option_value((char_u *)"shm", 0L, (char_u *)"", 0); | |
646 ex_cnext(eap); | 650 ex_cnext(eap); |
651 set_option_value((char_u *)"shm", 0L, p_shm_save, 0); | |
652 vim_free(p_shm_save); | |
647 | 653 |
648 // If jumping to the next quickfix entry fails, quit here | 654 // If jumping to the next quickfix entry fails, quit here |
649 if (qf_get_cur_idx(eap) == qf_idx) | 655 if (qf_get_cur_idx(eap) == qf_idx) |
650 break; | 656 break; |
651 } | 657 } |