]>
Commit | Line | Data |
---|---|---|
ef75664d AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.1.272 | |
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.272 | |
11 | Problem: The special buffer name [Location List] is not used for a buffer | |
12 | displayed in another tab page. | |
13 | Solution: Use FOR_ALL_TAB_WINDOWS instead of FOR_ALL_WINDOWS. (Hiroaki | |
14 | Nishihara) | |
15 | Files: src/buffer.c | |
16 | ||
17 | ||
18 | *** ../vim-7.1.271/src/buffer.c Wed Oct 3 14:30:54 2007 | |
19 | --- src/buffer.c Wed Mar 5 21:55:44 2008 | |
20 | *************** | |
21 | *** 4912,4918 **** | |
22 | return retval; | |
23 | } | |
24 | ||
25 | ! #ifdef FEAT_VIMINFO | |
26 | int | |
27 | read_viminfo_bufferlist(virp, writing) | |
28 | vir_T *virp; | |
29 | --- 4912,4918 ---- | |
30 | return retval; | |
31 | } | |
32 | ||
33 | ! #if defined(FEAT_VIMINFO) || defined(PROTO) | |
34 | int | |
35 | read_viminfo_bufferlist(virp, writing) | |
36 | vir_T *virp; | |
37 | *************** | |
38 | *** 5033,5045 **** | |
39 | #if defined(FEAT_QUICKFIX) && defined(FEAT_WINDOWS) | |
40 | if (bt_quickfix(buf)) | |
41 | { | |
42 | ! win_T *win; | |
43 | ||
44 | /* | |
45 | * For location list window, w_llist_ref points to the location list. | |
46 | * For quickfix window, w_llist_ref is NULL. | |
47 | */ | |
48 | ! FOR_ALL_WINDOWS(win) | |
49 | if (win->w_buffer == buf) | |
50 | break; | |
51 | if (win != NULL && win->w_llist_ref != NULL) | |
52 | --- 5033,5046 ---- | |
53 | #if defined(FEAT_QUICKFIX) && defined(FEAT_WINDOWS) | |
54 | if (bt_quickfix(buf)) | |
55 | { | |
56 | ! win_T *win; | |
57 | ! tabpage_T *tp; | |
58 | ||
59 | /* | |
60 | * For location list window, w_llist_ref points to the location list. | |
61 | * For quickfix window, w_llist_ref is NULL. | |
62 | */ | |
63 | ! FOR_ALL_TAB_WINDOWS(tp, win) | |
64 | if (win->w_buffer == buf) | |
65 | break; | |
66 | if (win != NULL && win->w_llist_ref != NULL) | |
67 | *** ../vim-7.1.271/src/version.c Tue Mar 11 22:01:16 2008 | |
68 | --- src/version.c Wed Mar 12 12:21:13 2008 | |
69 | *************** | |
70 | *** 668,669 **** | |
71 | --- 668,671 ---- | |
72 | { /* Add new patch number below this line */ | |
73 | + /**/ | |
74 | + 272, | |
75 | /**/ | |
76 | ||
77 | -- | |
78 | hundred-and-one symptoms of being an internet addict: | |
79 | 113. You are asked about a bus schedule, you wonder if it is 16 or 32 bits. | |
80 | ||
81 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
82 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
83 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
84 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |