|
Karsten Hopp |
d416a7 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
d416a7 |
Subject: Patch 7.3.098
|
|
Karsten Hopp |
d416a7 |
Fcc: outbox
|
|
Karsten Hopp |
d416a7 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
d416a7 |
Mime-Version: 1.0
|
|
Karsten Hopp |
d416a7 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
d416a7 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
d416a7 |
------------
|
|
Karsten Hopp |
d416a7 |
|
|
Karsten Hopp |
d416a7 |
Patch 7.3.098
|
|
Karsten Hopp |
d416a7 |
Problem: Function that ignores error still causes called_emsg to be set.
|
|
Karsten Hopp |
d416a7 |
E.g. when expand() fails the status line is disabled.
|
|
Karsten Hopp |
d416a7 |
Solution: Move check for emsg_not_now() up. (James Vega)
|
|
Karsten Hopp |
d416a7 |
Files: src/message.c
|
|
Karsten Hopp |
d416a7 |
|
|
Karsten Hopp |
d416a7 |
|
|
Karsten Hopp |
d416a7 |
*** ../vim-7.3.097/src/message.c 2010-10-20 21:22:17.000000000 +0200
|
|
Karsten Hopp |
d416a7 |
--- src/message.c 2011-01-04 19:19:04.000000000 +0100
|
|
Karsten Hopp |
d416a7 |
***************
|
|
Karsten Hopp |
d416a7 |
*** 569,574 ****
|
|
Karsten Hopp |
d416a7 |
--- 569,578 ----
|
|
Karsten Hopp |
d416a7 |
int severe;
|
|
Karsten Hopp |
d416a7 |
#endif
|
|
Karsten Hopp |
d416a7 |
|
|
Karsten Hopp |
d416a7 |
+ /* Skip this if not giving error messages at the moment. */
|
|
Karsten Hopp |
d416a7 |
+ if (emsg_not_now())
|
|
Karsten Hopp |
d416a7 |
+ return TRUE;
|
|
Karsten Hopp |
d416a7 |
+
|
|
Karsten Hopp |
d416a7 |
called_emsg = TRUE;
|
|
Karsten Hopp |
d416a7 |
ex_exitval = 1;
|
|
Karsten Hopp |
d416a7 |
|
|
Karsten Hopp |
d416a7 |
***************
|
|
Karsten Hopp |
d416a7 |
*** 581,590 ****
|
|
Karsten Hopp |
d416a7 |
emsg_severe = FALSE;
|
|
Karsten Hopp |
d416a7 |
#endif
|
|
Karsten Hopp |
d416a7 |
|
|
Karsten Hopp |
d416a7 |
- /* Skip this if not giving error messages at the moment. */
|
|
Karsten Hopp |
d416a7 |
- if (emsg_not_now())
|
|
Karsten Hopp |
d416a7 |
- return TRUE;
|
|
Karsten Hopp |
d416a7 |
-
|
|
Karsten Hopp |
d416a7 |
if (!emsg_off || vim_strchr(p_debug, 't') != NULL)
|
|
Karsten Hopp |
d416a7 |
{
|
|
Karsten Hopp |
d416a7 |
#ifdef FEAT_EVAL
|
|
Karsten Hopp |
d416a7 |
--- 585,590 ----
|
|
Karsten Hopp |
d416a7 |
*** ../vim-7.3.097/src/version.c 2011-01-04 19:03:22.000000000 +0100
|
|
Karsten Hopp |
d416a7 |
--- src/version.c 2011-01-04 19:24:30.000000000 +0100
|
|
Karsten Hopp |
d416a7 |
***************
|
|
Karsten Hopp |
d416a7 |
*** 716,717 ****
|
|
Karsten Hopp |
d416a7 |
--- 716,719 ----
|
|
Karsten Hopp |
d416a7 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
d416a7 |
+ /**/
|
|
Karsten Hopp |
d416a7 |
+ 98,
|
|
Karsten Hopp |
d416a7 |
/**/
|
|
Karsten Hopp |
d416a7 |
|
|
Karsten Hopp |
d416a7 |
--
|
|
Karsten Hopp |
d416a7 |
Ed's Radiator Shop: The Best Place in Town to Take a Leak.
|
|
Karsten Hopp |
d416a7 |
|
|
Karsten Hopp |
d416a7 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
d416a7 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
d416a7 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
d416a7 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|