Mercurial > vim
comparison src/version.c @ 25654:ef38fc02faaa v8.2.3363
patch 8.2.3363: when :edit reuses the current buffer the alternate file is set
Commit: https://github.com/vim/vim/commit/b8bd2e6ebab03baf2672067067a599df69a278c0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 21 17:13:14 2021 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 21 Aug 2021 17:15:03 +0200 |
parents | ca61340ac1b9 |
children | fe7f45e2895e |
comparison
equal
deleted
inserted
replaced
25653:dc3b761cc059 | 25654:ef38fc02faaa |
---|---|
753 NULL | 753 NULL |
754 }; | 754 }; |
755 | 755 |
756 static int included_patches[] = | 756 static int included_patches[] = |
757 { /* Add new patch number below this line */ | 757 { /* Add new patch number below this line */ |
758 /**/ | |
759 3363, | |
758 /**/ | 760 /**/ |
759 3362, | 761 3362, |
760 /**/ | 762 /**/ |
761 3361, | 763 3361, |
762 /**/ | 764 /**/ |