mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.4.598
Problem: ":tabdo windo echo 'hi'" causes "* register not to be changed. (Salman Halim) Solution: Change how clip_did_set_selection is used and add clipboard_needs_update and global_change_count. (Christian Brabandt)
This commit is contained in:
@@ -959,17 +959,8 @@ vim_main2(int argc UNUSED, char **argv UNUSED)
|
||||
if (p_im)
|
||||
need_start_insertmode = TRUE;
|
||||
|
||||
#ifdef FEAT_CLIPBOARD
|
||||
if (clip_unnamed)
|
||||
/* do not overwrite system clipboard while starting up */
|
||||
clip_did_set_selection = -1;
|
||||
#endif
|
||||
#ifdef FEAT_AUTOCMD
|
||||
apply_autocmds(EVENT_VIMENTER, NULL, NULL, FALSE, curbuf);
|
||||
# ifdef FEAT_CLIPBOARD
|
||||
if (clip_did_set_selection < 0)
|
||||
clip_did_set_selection = TRUE;
|
||||
# endif
|
||||
TIME_MSG("VimEnter autocommands");
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user