0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.0061

This commit is contained in:
Bram Moolenaar
2005-03-18 20:30:32 +00:00
parent 5409c051a5
commit c07611362a
7 changed files with 77 additions and 50 deletions

View File

@@ -1996,10 +1996,11 @@ scripterror:
{
/*
* We start commands on line 0, make "vim +/pat file" match a
* pattern on line 1.
* pattern on line 1. But don't move the cursor when an autocommand
* with g`" was used.
*/
msg_scroll = TRUE;
if (tagname == NULL)
if (tagname == NULL && curwin->w_cursor.lnum <= 1)
curwin->w_cursor.lnum = 0;
sourcing_name = (char_u *)"command line";
#ifdef FEAT_EVAL