Hi, Happy New Year to all!
On Sat, Jan 2, 2016 at 10:26 PM, Bram Moolenaar <[email protected]> wrote: > > 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) > Files: src/testdir/test31.in, src/testdir/test31.ok, > runtime/doc/editing.txt, src/ex_cmds2.c, src/ex_docmd.c, > src/gui.c, src/gui_gtk_x11.c, src/os_unix.c, > src/proto/ex_cmds2.pro > > > --- runtime/doc/editing.txt 2016-01-02 22:15:50.757167261 +0100 > *************** > *** 1091,1100 **** > the last file in the argument list has not been > edited. See |:confirm| and 'confirm'. {not in Vi} > > ! :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 > the current buffer. > Use ":qall!" to exit always. > > --- 1105,1114 ---- > the last file in the argument list has not been > edited. See |:confirm| and 'confirm'. {not in Vi} > > ! :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. Small nitpick in the docs: The first line of the doc should read "current", not "currentl". Regards, Christ van Willegen -- 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
