]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.136
- new
[packages/vim.git] / 7.2.136
CommitLineData
478508cd
ER
1To: vim-dev@vim.org
2Subject: Patch 7.2.136
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.2.136 (after 7.2.132)
11Problem: ":cd" is still possible in a SwapExists autocmd.
12Solution: Check the allbuf_lock flag in ex_cd().
13Files: src/ex_docmd.c
14
15
16*** ../vim-7.2.135/src/ex_docmd.c Wed Mar 11 15:09:07 2009
17--- src/ex_docmd.c Wed Mar 11 11:13:31 2009
18***************
19*** 7875,7880 ****
20--- 7875,7884 ----
21 else
22 #endif
23 {
24+ #ifdef FEAT_AUTOCMD
25+ if (allbuf_locked())
26+ return;
27+ #endif
28 if (vim_strchr(p_cpo, CPO_CHDIR) != NULL && curbufIsChanged()
29 && !eap->forceit)
30 {
31*** ../vim-7.2.135/src/version.c Wed Mar 11 15:09:07 2009
32--- src/version.c Wed Mar 11 15:35:36 2009
33***************
34*** 678,679 ****
35--- 678,681 ----
36 { /* Add new patch number below this line */
37+ /**/
38+ 136,
39 /**/
40
41--
42Press any key to continue, press any other key to quit.
43
44 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
45/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
46\\\ download, build and distribute -- http://www.A-A-P.org ///
47 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.063634 seconds and 4 git commands to generate.