To: vim_dev@googlegroups.com Subject: Patch 7.4a.047 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4a.047 Problem: Some comments are not so nice. Solution: Change the comments. Files: src/ex_docmd.c, src/message.c, src/ops.c, src/option.c *** ../vim-7.4a.046/src/ex_docmd.c 2013-07-17 11:54:23.000000000 +0200 --- src/ex_docmd.c 2013-07-24 15:09:37.000000000 +0200 *************** *** 6992,6998 **** # ifdef FEAT_GUI need_mouse_correct = TRUE; # endif ! /* quit current window, may free buffer */ win_close(curwin, !P_HID(curwin->w_buffer)); #endif } --- 6992,6998 ---- # ifdef FEAT_GUI need_mouse_correct = TRUE; # endif ! /* Quit current window, may free the buffer. */ win_close(curwin, !P_HID(curwin->w_buffer)); #endif } *** ../vim-7.4a.046/src/message.c 2013-06-07 19:47:23.000000000 +0200 --- src/message.c 2013-07-17 11:32:14.000000000 +0200 *************** *** 3067,3073 **** msg_end() { /* ! * if the string is larger than the window, * or the ruler option is set and we run into it, * we have to redraw the window. * Do not do this if we are abandoning the file or editing the command line. --- 3067,3073 ---- msg_end() { /* ! * If the string is larger than the window, * or the ruler option is set and we run into it, * we have to redraw the window. * Do not do this if we are abandoning the file or editing the command line. *** ../vim-7.4a.046/src/ops.c 2013-07-13 16:34:19.000000000 +0200 --- src/ops.c 2013-07-14 13:07:51.000000000 +0200 *************** *** 2891,2897 **** * register and then concatenate the old and the new one (so we keep the old * one in case of out-of-memory). * ! * return FAIL for failure, OK otherwise */ int op_yank(oap, deleting, mess) --- 2891,2897 ---- * register and then concatenate the old and the new one (so we keep the old * one in case of out-of-memory). * ! * Return FAIL for failure, OK otherwise. */ int op_yank(oap, deleting, mess) *** ../vim-7.4a.046/src/option.c 2013-07-09 13:44:40.000000000 +0200 --- src/option.c 2013-07-17 21:39:13.000000000 +0200 *************** *** 11452,11457 **** --- 11452,11458 ---- /* * Return TRUE when option "name" has been set. + * Only works correctly for global options. */ int option_was_set(name) *** ../vim-7.4a.046/src/version.c 2013-07-28 15:16:09.000000000 +0200 --- src/version.c 2013-07-28 16:02:31.000000000 +0200 *************** *** 729,730 **** --- 729,732 ---- { /* Add new patch number below this line */ + /**/ + 47, /**/ -- How To Keep A Healthy Level Of Insanity: 11. Specify that your drive-through order is "to go". /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///