]>
Commit | Line | Data |
---|---|---|
0a7814d6 AG |
1 | To: vim-dev@vim.org |
2 | Subject: patch 7.1.094 | |
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.094 | |
11 | Problem: When checking if syntax highlighting is present, looking in the | |
12 | current buffer instead of the specified one. | |
13 | Solution: Use "buf" instead of "curbuf". | |
14 | Files: src/syntax.c | |
15 | ||
16 | ||
17 | *** ../vim-7.1.093/src/syntax.c Tue Aug 21 17:29:04 2007 | |
18 | --- src/syntax.c Wed Aug 29 23:27:52 2007 | |
19 | *************** | |
20 | *** 5987,5994 **** | |
21 | { | |
22 | return (buf->b_syn_patterns.ga_len != 0 | |
23 | || buf->b_syn_clusters.ga_len != 0 | |
24 | ! || curbuf->b_keywtab.ht_used > 0 | |
25 | ! || curbuf->b_keywtab_ic.ht_used > 0); | |
26 | } | |
27 | ||
28 | #if defined(FEAT_CMDL_COMPL) || defined(PROTO) | |
29 | --- 5987,5994 ---- | |
30 | { | |
31 | return (buf->b_syn_patterns.ga_len != 0 | |
32 | || buf->b_syn_clusters.ga_len != 0 | |
33 | ! || buf->b_keywtab.ht_used > 0 | |
34 | ! || buf->b_keywtab_ic.ht_used > 0); | |
35 | } | |
36 | ||
37 | #if defined(FEAT_CMDL_COMPL) || defined(PROTO) | |
38 | *** ../vim-7.1.093/src/version.c Thu Aug 30 13:51:52 2007 | |
39 | --- src/version.c Thu Aug 30 19:35:52 2007 | |
40 | *************** | |
41 | *** 668,669 **** | |
42 | --- 668,671 ---- | |
43 | { /* Add new patch number below this line */ | |
44 | + /**/ | |
45 | + 94, | |
46 | /**/ | |
47 | ||
48 | -- | |
49 | MAN: You don't frighten us, English pig-dog! Go and boil your bottoms, | |
50 | son of a silly person. I blow my nose on you, so-called Arthur-king, | |
51 | you and your silly English K...kaniggets. | |
52 | He puts hands to his ears and blows a raspberry. | |
53 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
54 | ||
55 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
56 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
57 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
58 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |