0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.1.1514: MS-Windows: wrong shell command with ! in 'guioptions'

Problem:    MS-Windows: wrong shell command with ! in 'guioptions'.
Solution:   Do not check for ! in 'guioptions' when applying 'shellxquote'.
            (Yasuhiro Matsumoto, closes #4519)
This commit is contained in:
Bram Moolenaar
2019-06-10 14:46:04 +02:00
parent 3ff5f0f05d
commit 01257a7a8e
2 changed files with 3 additions and 9 deletions

View File

@@ -3251,15 +3251,7 @@ call_shell(char_u *cmd, int opt)
/* The external command may update a tags file, clear cached tags. */
tag_freematch();
if (cmd == NULL || *p_sxq == NUL
#if defined(FEAT_GUI_MSWIN) && defined(FEAT_TERMINAL)
|| (
# ifdef VIMDLL
gui.in_use &&
# endif
vim_strchr(p_go, GO_TERMINAL) != NULL)
#endif
)
if (cmd == NULL || *p_sxq == NUL)
retval = mch_call_shell(cmd, opt);
else
{

View File

@@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1514,
/**/
1513,
/**/