4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
10 Patch 7.2.154 (after 7.2.132)
11 Problem: ":cd" is still possible in a SwapExists autocmd.
12 Solution: Set allbuf_lock in do_swapexists().
16 *** ../vim-7.2.153/src/memline.c Wed Apr 22 15:37:12 2009
17 --- src/memline.c Wed Apr 22 15:54:48 2009
20 set_vim_var_string(VV_SWAPCHOICE, NULL, -1);
22 /* Trigger SwapExists autocommands with <afile> set to the file being
24 apply_autocmds(EVENT_SWAPEXISTS, buf->b_fname, NULL, FALSE, NULL);
26 set_vim_var_string(VV_SWAPNAME, NULL, -1);
29 set_vim_var_string(VV_SWAPCHOICE, NULL, -1);
31 /* Trigger SwapExists autocommands with <afile> set to the file being
32 ! * edited. Disallow changing directory here. */
34 apply_autocmds(EVENT_SWAPEXISTS, buf->b_fname, NULL, FALSE, NULL);
37 set_vim_var_string(VV_SWAPNAME, NULL, -1);
43 * Note: If BASENAMELEN is not correct, you will get error messages for
44 * not being able to open the swapfile
45 + * Note: May trigger SwapExists autocmd, pointers may change!
48 findswapname(buf, dirp, old_fname)
49 *** ../vim-7.2.153/src/version.c Wed Apr 22 15:37:12 2009
50 --- src/version.c Wed Apr 22 15:55:48 2009
54 { /* Add new patch number below this line */
61 DENNIS: Well you can't expect to wield supreme executive power just 'cause
62 some watery tart threw a sword at you!
64 DENNIS: I mean, if I went around sayin' I was an empereror just because some
65 moistened bint had lobbed a scimitar at me they'd put me away!
66 The Quest for the Holy Grail (Monty Python)
68 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
69 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
70 \\\ download, build and distribute -- http://www.A-A-P.org ///
71 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///