1
0
forked from aniani/vim

patch 8.2.3363: when :edit reuses the current buffer the alternate file is set

Problem:    When :edit reuses the current buffer the alternate file is set to
            the same buffer.
Solution:   Only set the alternate file when not reusing the buffer.
            (closes #8783)
This commit is contained in:
Bram Moolenaar
2021-08-21 17:13:14 +02:00
parent 489d60996d
commit b8bd2e6eba
6 changed files with 12 additions and 4 deletions

View File

@@ -755,6 +755,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3363,
/**/
3362,
/**/