summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-07 23:04:18 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-07 23:04:18 +0200
commitbc5d6dd1dd1dc3a06e4e655fc9479529db288365 (patch)
treea1a4a52ccd792948a0da290701ed3fbc14b34ed5 /src/globals.h
parentbf2cc5f36d5ffd5de445e6970602000c7869b65a (diff)
downloadvim-git-bc5d6dd1dd1dc3a06e4e655fc9479529db288365.tar.gz
patch 7.4.1999v7.4.1999
Problem: evalcmd() doesn't work recursively. Solution: Use redir_evalcmd instead of redir_vname.
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index f14cb89a9..97711164a 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1106,6 +1106,7 @@ EXTERN FILE *redir_fd INIT(= NULL); /* message redirection file */
#ifdef FEAT_EVAL
EXTERN int redir_reg INIT(= 0); /* message redirection register */
EXTERN int redir_vname INIT(= 0); /* message redirection variable */
+EXTERN int redir_evalcmd INIT(= 0); /* evalcmd() redirection */
#endif
#ifdef FEAT_LANGMAP