jkunstle / rpms / vim

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