Patch 7.1.150
Problem:    When 'clipboard' has "unnamed" using "p" in Visual mode doesn't
            work correctly. (Jianrong Yu)
Solution:   When 'clipboard' has "unnamed" also obtain the selection when
            getting the default register.
Files:      src/ops.c


*** ../vim-7.1.149/src/ops.c    Tue Sep 25 14:19:35 2007
--- src/ops.c   Sun Oct 28 13:58:35 2007
***************
*** 933,941 ****
  #ifdef FEAT_CLIPBOARD
      /* When Visual area changed, may have to update selection.  Obtain the
       * selection too. */
!     if (name == '*' && clip_star.available && clip_isautosel())
      {
!       clip_update_selection();
        may_get_selection(name);
      }
  #endif
--- 933,942 ----
  #ifdef FEAT_CLIPBOARD
      /* When Visual area changed, may have to update selection.  Obtain the
       * selection too. */
!     if (name == '*' && clip_star.available)
      {
!       if (clip_isautosel())
!           clip_update_selection();
        may_get_selection(name);
      }
  #endif
*** ../vim-7.1.149/src/version.c        Tue Nov  6 22:26:39 2007
--- src/version.c       Thu Nov  8 10:34:18 2007
***************
*** 668,669 ****
--- 668,671 ----
  {   /* Add new patch number below this line */
+ /**/
+     150,
  /**/

-- 
>From "know your smileys":
 8<}}   Glasses, big nose, beard

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui