jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.076

dcaee6
To: vim_dev@googlegroups.com
dcaee6
Subject: Patch 7.4.076
dcaee6
Fcc: outbox
dcaee6
From: Bram Moolenaar <Bram@moolenaar.net>
dcaee6
Mime-Version: 1.0
dcaee6
Content-Type: text/plain; charset=UTF-8
dcaee6
Content-Transfer-Encoding: 8bit
dcaee6
------------
dcaee6
dcaee6
Patch 7.4.076
dcaee6
Problem:    "cgn" does not wrap around the end of the file. (Dimitrov
dcaee6
            Dimitrov)
dcaee6
Solution:   Restore 'wrapscan' earlier. (Christian Brabandt)
dcaee6
Files:      src/search.c
dcaee6
    
dcaee6
dcaee6
*** ../vim-7.4.075/src/search.c	2013-10-02 21:54:57.000000000 +0200
dcaee6
--- src/search.c	2013-11-07 04:38:46.000000000 +0100
dcaee6
***************
dcaee6
*** 4592,4598 ****
dcaee6
  				ml_get(curwin->w_buffer->b_ml.ml_line_count));
dcaee6
  	    }
dcaee6
  	}
dcaee6
! 
dcaee6
      }
dcaee6
  
dcaee6
      start_pos = pos;
dcaee6
--- 4592,4598 ----
dcaee6
  				ml_get(curwin->w_buffer->b_ml.ml_line_count));
dcaee6
  	    }
dcaee6
  	}
dcaee6
! 	p_ws = old_p_ws;
dcaee6
      }
dcaee6
  
dcaee6
      start_pos = pos;
dcaee6
***************
dcaee6
*** 4607,4613 ****
dcaee6
      if (!VIsual_active)
dcaee6
  	VIsual = start_pos;
dcaee6
  
dcaee6
-     p_ws = old_p_ws;
dcaee6
      curwin->w_cursor = pos;
dcaee6
      VIsual_active = TRUE;
dcaee6
      VIsual_mode = 'v';
dcaee6
--- 4607,4612 ----
dcaee6
*** ../vim-7.4.075/src/version.c	2013-11-07 03:25:51.000000000 +0100
dcaee6
--- src/version.c	2013-11-07 04:44:44.000000000 +0100
dcaee6
***************
dcaee6
*** 740,741 ****
dcaee6
--- 740,743 ----
dcaee6
  {   /* Add new patch number below this line */
dcaee6
+ /**/
dcaee6
+     76,
dcaee6
  /**/
dcaee6
dcaee6
-- 
dcaee6
INSPECTOR END OF FILM: Move along.  There's nothing to see!  Keep moving!
dcaee6
   [Suddenly he notices the cameras.]
dcaee6
INSPECTOR END OF FILM: (to Camera) All right, put that away sonny.
dcaee6
   [He walks over to it and puts his hand over the lens.]
dcaee6
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
dcaee6
dcaee6
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
dcaee6
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
dcaee6
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
dcaee6
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///