comparison src/ex_docmd.c @ 84:60834e43d187

updated for version 7.0034
author vimboss
date Sat, 08 Jan 2005 16:04:29 +0000
parents 31e555c6c691
children e1a8191c6768
comparison
equal deleted inserted replaced
83:d9030055c432 84:60834e43d187
710 static int call_depth = 0; /* recursiveness */ 710 static int call_depth = 0; /* recursiveness */
711 711
712 #ifdef FEAT_EVAL 712 #ifdef FEAT_EVAL
713 /* For every pair of do_cmdline()/do_one_cmd() calls, use an extra memory 713 /* For every pair of do_cmdline()/do_one_cmd() calls, use an extra memory
714 * location for storing error messages to be converted to an exception. 714 * location for storing error messages to be converted to an exception.
715 * This ensures that the do_errthrow() call in do_one_cmd() does not combine 715 * This ensures that the do_errthrow() call in do_one_cmd() does not
716 * the messages stored by an earlier invocation of do_one_cmd() with the 716 * combine the messages stored by an earlier invocation of do_one_cmd()
717 * command name of the later one. This would happen when BufWritePost 717 * with the command name of the later one. This would happen when
718 * autocommands are executed after a write error. */ 718 * BufWritePost autocommands are executed after a write error. */
719 saved_msg_list = msg_list; 719 saved_msg_list = msg_list;
720 msg_list = &private_msg_list; 720 msg_list = &private_msg_list;
721 private_msg_list = NULL; 721 private_msg_list = NULL;
722 #endif 722 #endif
723 723