To: vim-dev@vim.org Subject: Patch 6.1.344 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.344 Problem: When using ":silent filetype" the output is still put in the message history. (Hari Krishna Dara) Solution: Don't add messages in the history when ":silent" is used. Files: src/message.c *** ../vim61.343/src/message.c Tue Jan 28 21:42:29 2003 --- src/message.c Sat Feb 15 23:04:27 2003 *************** *** 627,633 **** { struct msg_hist *p; ! if (msg_hist_off) return; /* Don't let the message history get too big */ --- 627,633 ---- { struct msg_hist *p; ! if (msg_hist_off || msg_silent != 0) return; /* Don't let the message history get too big */ *** ../vim61.343/src/version.c Wed Feb 19 11:21:27 2003 --- src/version.c Thu Feb 20 21:18:05 2003 *************** *** 608,609 **** --- 612,615 ---- { /* Add new patch number below this line */ + /**/ + 344, /**/ -- A vacation is a period of travel during which you find that you took twice as many clothes and half as much money as you needed. /// 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 /// \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///