]>
Commit | Line | Data |
---|---|---|
0b93e182 ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.265 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.2.265 | |
11 | Problem: When using ":silent broken" inside try/catch silency may persist. | |
12 | (dr-dr xp) | |
13 | Solution: Set msg_silent when there is an error and it's bigger than the | |
14 | saved value. | |
15 | Files: src/ex_docmd.c | |
16 | ||
17 | ||
18 | *** ../vim-7.2.264/src/ex_docmd.c 2009-07-09 20:13:59.000000000 +0200 | |
19 | --- src/ex_docmd.c 2009-09-30 11:40:53.000000000 +0200 | |
20 | *************** | |
21 | *** 2695,2701 **** | |
22 | { | |
23 | /* messages could be enabled for a serious error, need to check if the | |
24 | * counters don't become negative */ | |
25 | ! if (!did_emsg) | |
26 | msg_silent = save_msg_silent; | |
27 | emsg_silent -= did_esilent; | |
28 | if (emsg_silent < 0) | |
29 | --- 2695,2701 ---- | |
30 | { | |
31 | /* messages could be enabled for a serious error, need to check if the | |
32 | * counters don't become negative */ | |
33 | ! if (!did_emsg || msg_silent > save_msg_silent) | |
34 | msg_silent = save_msg_silent; | |
35 | emsg_silent -= did_esilent; | |
36 | if (emsg_silent < 0) | |
37 | *** ../vim-7.2.264/src/version.c 2009-09-23 18:14:13.000000000 +0200 | |
38 | --- src/version.c 2009-09-30 13:22:47.000000000 +0200 | |
39 | *************** | |
40 | *** 678,679 **** | |
41 | --- 678,681 ---- | |
42 | { /* Add new patch number below this line */ | |
43 | + /**/ | |
44 | + 265, | |
45 | /**/ | |
46 | ||
47 | -- | |
48 | FIRST HEAD: Oh! quick! get the sword out I want to cut his head off. | |
49 | THIRD HEAD: Oh, cut your own head off. | |
50 | SECOND HEAD: Yes - do us all a favour. | |
51 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
52 | ||
53 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
54 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
55 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
56 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |