lkundrak / rpms / vim

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