mirror of
https://github.com/vim/vim.git
synced 2025-10-24 08:54:47 -04:00
patch 9.1.1601: Patch v8.1.0425 was wrong
Problem: Patch v8.1.0425 was wrong Solution: Revert that patch (Hirohito Higashi) This is because the root cause was fixed in 8.1.0786 and a regression occurred elsewhere. related: #3455 related: #3830 fixes: #11558 closes: #17899 Co-authored-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Hirohito Higashi <h.east.727@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
c849b17e19
commit
6abe5e4904
@@ -2003,9 +2003,6 @@ enter_buffer(buf_T *buf)
|
||||
// mark cursor position as being invalid
|
||||
curwin->w_valid = 0;
|
||||
|
||||
buflist_setfpos(curbuf, curwin, curbuf->b_last_cursor.lnum,
|
||||
curbuf->b_last_cursor.col, TRUE);
|
||||
|
||||
// Make sure the buffer is loaded.
|
||||
if (curbuf->b_ml.ml_mfp == NULL) // need to load the file
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user