Patch 7.3.1201
Problem: When a startup script creates a preview window, it probably
becomes the current window.
Solution: Make another window the current one. (Christian Brabandt)
Files: src/main.c
*** ../vim-7.3.1200/src/main.c 2013-06-12 20:35:46.000000000 +0200
--- src/main.c 2013-06-15 21:46:31.000000000 +0200
***************
*** 2816,2822 ****
# ifdef FEAT_AUTOCMD
--autocmd_no_enter;
# endif
! win_enter(firstwin, FALSE); /* back to first window */
# ifdef FEAT_AUTOCMD
--autocmd_no_leave;
# endif
--- 2816,2840 ----
# ifdef FEAT_AUTOCMD
--autocmd_no_enter;
# endif
! #if defined(FEAT_WINDOWS) && defined(FEAT_QUICKFIX)
! /*
! * Avoid making a preview window the current window.
! */
! if (firstwin->w_p_pvw)
! {
! win_T *win;
!
! for (win = firstwin; win != NULL; win = win->w_next)
! if (!win->w_p_pvw)
! {
! firstwin = win;
! break;
! }
! }
! #endif
! /* make the first window the current window */
! win_enter(firstwin, FALSE);
!
# ifdef FEAT_AUTOCMD
--autocmd_no_leave;
# endif
*** ../vim-7.3.1200/src/version.c 2013-06-15 17:54:36.000000000 +0200
--- src/version.c 2013-06-15 21:48:57.000000000 +0200
***************
*** 730,731 ****
--- 730,733 ----
{ /* Add new patch number below this line */
+ /**/
+ 1201,
/**/
--
How do I set the laser printer to stun?
/// Bram Moolenaar -- [email protected] -- 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 ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.