summaryrefslogtreecommitdiffstats
path: root/source/ap/vim/patches/7.3.071
blob: 75b6979f3429e7dafaa81c00fab5326ce02549c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
To: vim_dev@googlegroups.com
Subject: Patch 7.3.071
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.3.071
Problem:    Editing a file in a window that's in diff mode resets 'diff'
	    but not cursor binding.
Solution:   Reset cursor binding in two more places.
Files:	    src/quickfix.c, src/option.c


*** ../vim-7.3.070/src/quickfix.c	2010-11-24 16:31:55.000000000 +0100
--- src/quickfix.c	2010-12-02 15:02:00.000000000 +0100
***************
*** 2359,2364 ****
--- 2359,2365 ----
  	    set_option_value((char_u *)"bt", 0L, (char_u *)"quickfix",
  								   OPT_LOCAL);
  	    set_option_value((char_u *)"bh", 0L, (char_u *)"wipe", OPT_LOCAL);
+ 	    RESET_BINDING(curwin);
  #ifdef FEAT_DIFF
  	    curwin->w_p_diff = FALSE;
  #endif
*** ../vim-7.3.070/src/option.c	2010-10-13 14:05:29.000000000 +0200
--- src/option.c	2010-12-02 15:12:02.000000000 +0100
***************
*** 9756,9761 ****
--- 9759,9767 ----
  #ifdef FEAT_SCROLLBIND
      to->wo_scb = from->wo_scb;
  #endif
+ #ifdef FEAT_CURSORBIND
+     to->wo_crb = from->wo_crb;
+ #endif
  #ifdef FEAT_SPELL
      to->wo_spell = from->wo_spell;
  #endif
*** ../vim-7.3.070/src/version.c	2010-12-02 14:47:56.000000000 +0100
--- src/version.c	2010-12-02 15:31:12.000000000 +0100
***************
*** 716,717 ****
--- 716,719 ----
  {   /* Add new patch number below this line */
+ /**/
+     71,
  /**/

-- 
A salesperson says:            Translation:
"backward compatible"          Old technology
"Premium"                      Overpriced
"Can't keep it on the shelf"   Unavailable
"Stands alone"                 Piece of shit
"Proprietary"                  Incompatible
				(Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///