]> git.pld-linux.org Git - packages/vim.git/blob - 7.3.019
- new: 7.3.264
[packages/vim.git] / 7.3.019
1 To: vim-dev@vim.org
2 Subject: Patch 7.3.019
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.019
11 Problem:    ":nbstart" can fail silently.
12 Solution:   Give an error when netbeans is not supported by the GUI. (Xavier
13             de Gaye)
14 Files:      src/netbeans.c
15
16
17 *** ../vim-7.3.018/src/netbeans.c       2010-09-29 17:26:57.000000000 +0200
18 --- src/netbeans.c      2010-09-29 17:35:37.000000000 +0200
19 ***************
20 *** 2773,2778 ****
21 --- 2773,2788 ----
22   ex_nbstart(eap)
23       exarg_T   *eap;
24   {
25 + #ifdef FEAT_GUI
26 + # if !defined(FEAT_GUI_X11) && !defined(FEAT_GUI_GTK)  \
27 +                 && !defined(FEAT_GUI_W32)
28 +     if (gui.in_use)
29 +     {
30 +         EMSG(_("E838: netbeans is not supported with this GUI"));
31 +         return;
32 +     }
33 + # endif
34 + #endif
35       netbeans_open((char *)eap->arg, FALSE);
36   }
37   
38 *** ../vim-7.3.018/src/version.c        2010-09-29 18:42:25.000000000 +0200
39 --- src/version.c       2010-09-30 21:02:03.000000000 +0200
40 ***************
41 *** 716,717 ****
42 --- 716,719 ----
43   {   /* Add new patch number below this line */
44 + /**/
45 +     19,
46   /**/
47
48 -- 
49 hundred-and-one symptoms of being an internet addict:
50 233. You start dreaming about web pages...in html.
51
52  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
53 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
54 \\\        download, build and distribute -- http://www.A-A-P.org        ///
55  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.031616 seconds and 3 git commands to generate.