comparison src/eval.c @ 9448:1227e52979f8 v7.4.2005

commit https://github.com/vim/vim/commit/ee1deb4a00f39f133558321ec535354497f490c8 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 8 23:06:21 2016 +0200 patch 7.4.2005 Problem: After using evalcmd() message output is in the wrong position. (Christian Brabandt) Solution: Reset msg_col.
author Christian Brabandt <cb@256bit.org>
date Fri, 08 Jul 2016 23:15:06 +0200
parents 4fe3772969cf
children 9da0cb39cbee
comparison
equal deleted inserted replaced
9447:58f395506153 9448:1227e52979f8
11395 msg_silent = save_msg_silent; 11395 msg_silent = save_msg_silent;
11396 11396
11397 redir_evalcmd = save_redir_evalcmd; 11397 redir_evalcmd = save_redir_evalcmd;
11398 if (redir_evalcmd) 11398 if (redir_evalcmd)
11399 redir_evalcmd_ga = save_ga; 11399 redir_evalcmd_ga = save_ga;
11400
11401 /* "silent reg" or "silent echo x" leaves msg_col somewhere in the
11402 * line. Put it back in the first column. */
11403 msg_col = 0;
11400 } 11404 }
11401 } 11405 }
11402 11406
11403 /* 11407 /*
11404 * "eventhandler()" function 11408 * "eventhandler()" function