From 8c399d6b37f967d0ec9991d873666036de196a0a Mon Sep 17 00:00:00 2001 From: James McCoy Date: Tue, 10 May 2016 22:50:31 -0400 Subject: vim-patch:7.4.1037 Problem: Using "q!" when there is a modified hidden buffer does not unload the current buffer, resulting in the need to abandon it again. Solution: When using "q!" unload the current buffer when needed. (Yasuhiro Matsumoto, Hirohito Higashi) https://github.com/vim/vim/commit/027387f70c671f62e3e08e0bdd09ec05b0232735 --- runtime/doc/editing.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'runtime/doc/editing.txt') diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index b1dd3239ea..21496b135e 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1042,10 +1042,10 @@ The names can be in upper- or lowercase. the last file in the argument list has not been edited. See |:confirm| and 'confirm'. -:q[uit]! Quit without writing, also when currently visible - buffers have changes. Does not exit when this is the - last window and there is a changed hidden buffer. - In this case, the first changed hidden buffer becomes +:q[uit]! Quit without writing, also when currentl buffer has + changes. If this is the last window and there is a + modified hidden buffer, the current buffer is + abandoned and the first changed hidden buffer becomes the current buffer. Use ":qall!" to exit always. -- cgit