mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
Original commit message for patch 7.4.592:
Problem: When doing ":e foobar" when already editing "foobar" and 'buftype'
is "nofile" the buffer is cleared. (Xavier de Gaye)
Solution: Do no clear the buffer.
https://github.com/vim/vim/commit/v7-4-592
The change in this patch was amended in patch 7.4.596 to fix an #ifdef
problem, but soon after, in patch 7.4.632, it was reverted wholesale.
See https://groups.google.com/d/msg/vim_dev/SWw5znc3W-8/TDjkUVYfABIJ