commit | bc5d6dd1dd1dc3a06e4e655fc9479529db288365 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jul 07 23:04:18 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jul 07 23:04:18 2016 +0200 |
tree | a1a4a52ccd792948a0da290701ed3fbc14b34ed5 | |
parent | bf2cc5f36d5ffd5de445e6970602000c7869b65a [diff] [blame] |
patch 7.4.1999 Problem: evalcmd() doesn't work recursively. Solution: Use redir_evalcmd instead of redir_vname.
diff --git a/src/globals.h b/src/globals.h index f14cb89..9771116 100644 --- a/src/globals.h +++ b/src/globals.h
@@ -1106,6 +1106,7 @@ #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