]>
Commit | Line | Data |
---|---|---|
d57b4abe ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.1.213 | |
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.213 | |
11 | Problem: A ":tabedit" command that results in the "swap file exists" dialog | |
12 | and selecting "abort" doesn't close the new tab. (Al Budden) | |
13 | Solution: Pass "old_curwin" to do_exedit(). | |
14 | Files: src/ex_docmd.c | |
15 | ||
16 | ||
17 | *** ../vim-7.1.212/src/ex_docmd.c Sun Jan 6 20:05:36 2008 | |
18 | --- src/ex_docmd.c Wed Jan 9 20:11:13 2008 | |
19 | *************** | |
20 | *** 7126,7132 **** | |
21 | : eap->addr_count == 0 ? 0 | |
22 | : (int)eap->line2 + 1) != FAIL) | |
23 | { | |
24 | ! do_exedit(eap, NULL); | |
25 | ||
26 | /* set the alternate buffer for the window we came from */ | |
27 | if (curwin != old_curwin | |
28 | --- 7127,7133 ---- | |
29 | : eap->addr_count == 0 ? 0 | |
30 | : (int)eap->line2 + 1) != FAIL) | |
31 | { | |
32 | ! do_exedit(eap, old_curwin); | |
33 | ||
34 | /* set the alternate buffer for the window we came from */ | |
35 | if (curwin != old_curwin | |
36 | *** ../vim-7.1.212/src/version.c Wed Jan 9 10:13:24 2008 | |
37 | --- src/version.c Wed Jan 9 20:29:09 2008 | |
38 | *************** | |
39 | *** 668,669 **** | |
40 | --- 668,671 ---- | |
41 | { /* Add new patch number below this line */ | |
42 | + /**/ | |
43 | + 213, | |
44 | /**/ | |
45 | ||
46 | -- | |
47 | Q: What do you call a fish without an eye? | |
48 | A: fsh! | |
49 | Q: What do you call a deer with no eyes? | |
50 | A: no eye deer. | |
51 | Q: What do you call a deer with no eyes and no legs? | |
52 | A: still no eye deer. | |
53 | ||
54 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
55 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
56 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
57 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |