]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - vim/patches/vim-7.3.544.patch0
ppp: Re-add ifname patch
[people/ms/ipfire-3.x.git] / vim / patches / vim-7.3.544.patch0
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.544
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.3.544
11 Problem: There is no good way to close a quickfix window when closing the
12 last ordinary window.
13 Solution: Add the QuitPre autocommand.
14 Files: src/ex_docmd.c, src/fileio.c, src/vim.h
15
16
17 *** ../vim-7.3.543/src/ex_docmd.c 2012-06-06 16:12:54.000000000 +0200
18 --- src/ex_docmd.c 2012-06-06 17:58:41.000000000 +0200
19 ***************
20 *** 6458,6463 ****
21 --- 6458,6464 ----
22 return;
23 }
24 #ifdef FEAT_AUTOCMD
25 + apply_autocmds(EVENT_QUITPRE, NULL, NULL, FALSE, curbuf);
26 if (curbuf_locked())
27 return;
28 #endif
29 *** ../vim-7.3.543/src/fileio.c 2012-04-30 17:04:47.000000000 +0200
30 --- src/fileio.c 2012-06-06 17:32:12.000000000 +0200
31 ***************
32 *** 7678,7683 ****
33 --- 7678,7684 ----
34 {"MenuPopup", EVENT_MENUPOPUP},
35 {"QuickFixCmdPost", EVENT_QUICKFIXCMDPOST},
36 {"QuickFixCmdPre", EVENT_QUICKFIXCMDPRE},
37 + {"QuitPre", EVENT_QUITPRE},
38 {"RemoteReply", EVENT_REMOTEREPLY},
39 {"SessionLoadPost", EVENT_SESSIONLOADPOST},
40 {"ShellCmdPost", EVENT_SHELLCMDPOST},
41 *** ../vim-7.3.543/src/vim.h 2012-06-01 15:20:49.000000000 +0200
42 --- src/vim.h 2012-06-06 17:30:01.000000000 +0200
43 ***************
44 *** 1264,1271 ****
45 EVENT_INSERTENTER, /* when entering Insert mode */
46 EVENT_INSERTLEAVE, /* when leaving Insert mode */
47 EVENT_MENUPOPUP, /* just before popup menu is displayed */
48 ! EVENT_QUICKFIXCMDPOST, /* after :make, :grep etc */
49 ! EVENT_QUICKFIXCMDPRE, /* before :make, :grep etc */
50 EVENT_SESSIONLOADPOST, /* after loading a session file */
51 EVENT_STDINREADPOST, /* after reading from stdin */
52 EVENT_STDINREADPRE, /* before reading from stdin */
53 --- 1264,1272 ----
54 EVENT_INSERTENTER, /* when entering Insert mode */
55 EVENT_INSERTLEAVE, /* when leaving Insert mode */
56 EVENT_MENUPOPUP, /* just before popup menu is displayed */
57 ! EVENT_QUICKFIXCMDPOST, /* after :make, :grep etc. */
58 ! EVENT_QUICKFIXCMDPRE, /* before :make, :grep etc. */
59 ! EVENT_QUITPRE, /* before :quit */
60 EVENT_SESSIONLOADPOST, /* after loading a session file */
61 EVENT_STDINREADPOST, /* after reading from stdin */
62 EVENT_STDINREADPRE, /* before reading from stdin */
63 *** ../vim-7.3.543/src/version.c 2012-06-06 16:29:06.000000000 +0200
64 --- src/version.c 2012-06-06 18:02:09.000000000 +0200
65 ***************
66 *** 716,717 ****
67 --- 716,719 ----
68 { /* Add new patch number below this line */
69 + /**/
70 + 544,
71 /**/
72
73 --
74 How To Keep A Healthy Level Of Insanity:
75 3. Every time someone asks you to do something, ask if they want fries
76 with that.
77
78 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
79 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
80 \\\ an exciting new programming language -- http://www.Zimbu.org ///
81 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///