]>
Commit | Line | Data |
---|---|---|
ad28a8ff AG |
1 | To: vim-dev@vim.org |
2 | Subject: patch 7.1.013 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.1.013 | |
11 | Problem: ":syn include" only loads the first file, while it is documented | |
12 | as doing the equivalent of ":runtime!". | |
13 | Solution: Change the argument to source_runtime(). (James Vega) | |
14 | Files: src/syntax.c | |
15 | ||
16 | ||
17 | *** ../vim-7.1.012/src/syntax.c Thu May 10 20:54:33 2007 | |
18 | --- src/syntax.c Sun Jun 17 22:03:30 2007 | |
19 | *************** | |
20 | *** 4460,4467 **** | |
21 | current_syn_inc_tag = ++running_syn_inc_tag; | |
22 | prev_toplvl_grp = curbuf->b_syn_topgrp; | |
23 | curbuf->b_syn_topgrp = sgl_id; | |
24 | ! if (source ? do_source(eap->arg, FALSE, FALSE) == FAIL | |
25 | ! : source_runtime(eap->arg, DOSO_NONE) == FAIL) | |
26 | EMSG2(_(e_notopen), eap->arg); | |
27 | curbuf->b_syn_topgrp = prev_toplvl_grp; | |
28 | current_syn_inc_tag = prev_syn_inc_tag; | |
29 | --- 4460,4467 ---- | |
30 | current_syn_inc_tag = ++running_syn_inc_tag; | |
31 | prev_toplvl_grp = curbuf->b_syn_topgrp; | |
32 | curbuf->b_syn_topgrp = sgl_id; | |
33 | ! if (source ? do_source(eap->arg, FALSE, DOSO_NONE) == FAIL | |
34 | ! : source_runtime(eap->arg, TRUE) == FAIL) | |
35 | EMSG2(_(e_notopen), eap->arg); | |
36 | curbuf->b_syn_topgrp = prev_toplvl_grp; | |
37 | current_syn_inc_tag = prev_syn_inc_tag; | |
38 | *** ../vim-7.1.012/src/version.c Tue Jun 19 20:56:52 2007 | |
39 | --- src/version.c Thu Jun 28 11:58:25 2007 | |
40 | *************** | |
41 | *** 668,669 **** | |
42 | --- 668,671 ---- | |
43 | { /* Add new patch number below this line */ | |
44 | + /**/ | |
45 | + 13, | |
46 | /**/ | |
47 | ||
48 | -- | |
49 | MORTICIAN: What? | |
50 | CUSTOMER: Nothing -- here's your nine pence. | |
51 | DEAD PERSON: I'm not dead! | |
52 | MORTICIAN: Here -- he says he's not dead! | |
53 | CUSTOMER: Yes, he is. | |
54 | DEAD PERSON: I'm not! | |
55 | The Quest for the Holy Grail (Monty Python) | |
56 | ||
57 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
58 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
59 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
60 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |