To: vim-dev@vim.org Subject: Patch 6.1.246 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.246 Problem: ":blast" goes to the first buffer if the last one is unlisted. (Andrew Stryker) Solution: From the last buffer search backwards for the first listed buffer instead of forwards. Files: src/ex_docmd.c *** ../vim61.245/src/ex_docmd.c Sun Oct 27 20:44:05 2002 --- src/ex_docmd.c Tue Oct 29 19:30:38 2002 *************** *** 3757,3763 **** ex_blast(eap) exarg_T *eap; { ! goto_buffer(eap, DOBUF_LAST, FORWARD, 0); } #endif --- 3759,3765 ---- ex_blast(eap) exarg_T *eap; { ! goto_buffer(eap, DOBUF_LAST, BACKWARD, 0); } #endif *** ../vim61.245/src/version.c Sun Oct 27 22:19:38 2002 --- src/version.c Tue Oct 29 19:34:18 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 246, /**/ -- BLACK KNIGHT: I move for no man. ARTHUR: So be it! [hah] [parry thrust] [ARTHUR chops the BLACK KNIGHT's left arm off] ARTHUR: Now stand aside, worthy adversary. BLACK KNIGHT: 'Tis but a scratch. The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.vim.org \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///