This commit is contained in:
James McCoy 2017-01-09 13:19:29 -05:00
parent 9b47115d53
commit f3c93fbefe
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB
2 changed files with 4 additions and 5 deletions

View File

@ -869,10 +869,10 @@ EXTERN int mapped_ctrl_c INIT(= 0); // Modes where CTRL-C is mapped.
EXTERN cmdmod_T cmdmod; /* Ex command modifiers */ EXTERN cmdmod_T cmdmod; /* Ex command modifiers */
EXTERN int msg_silent INIT(= 0); /* don't print messages */ EXTERN int msg_silent INIT(= 0); // don't print messages
EXTERN int emsg_silent INIT(= 0); /* don't print error messages */ EXTERN int emsg_silent INIT(= 0); // don't print error messages
EXTERN bool emsg_noredir INIT(= false); // don't redirect error messages EXTERN bool emsg_noredir INIT(= false); // don't redirect error messages
EXTERN int cmd_silent INIT(= FALSE); /* don't echo the command line */ EXTERN int cmd_silent INIT(= false); // don't echo the command line
/* Values for swap_exists_action: what to do when swap file already exists */ /* Values for swap_exists_action: what to do when swap file already exists */
#define SEA_NONE 0 /* don't use dialog */ #define SEA_NONE 0 /* don't use dialog */

View File

@ -2510,8 +2510,7 @@ static void redir_write(char_u *str, int maxlen)
int redirecting(void) int redirecting(void)
{ {
return redir_fd != NULL || *p_vfile != NUL return redir_fd != NULL || *p_vfile != NUL
|| redir_reg || redir_vname || capture_ga != NULL || redir_reg || redir_vname || capture_ga != NULL;
;
} }
/* /*