]> granicus.if.org Git - vim/commitdiff
updated for version 7.4a.047 v7.4a.047
authorBram Moolenaar <Bram@vim.org>
Sun, 28 Jul 2013 14:03:06 +0000 (16:03 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 28 Jul 2013 14:03:06 +0000 (16:03 +0200)
Problem:    Some comments are not so nice.
Solution:   Change the comments.

src/ex_docmd.c
src/message.c
src/ops.c
src/option.c
src/version.c

index 1fead394810dd6628fe78c63d0c17e2823e8fd67..24f80fbfa228ecdaa11cf11740147e8ee2d5b99b 100644 (file)
@@ -6992,7 +6992,7 @@ ex_exit(eap)
 # ifdef FEAT_GUI
        need_mouse_correct = TRUE;
 # endif
-       /* quit current window, may free buffer */
+       /* Quit current window, may free the buffer. */
        win_close(curwin, !P_HID(curwin->w_buffer));
 #endif
     }
index 8330ef7387dfbd4a83e4e08a6eef556cd67e3947..86db5a882fce2e8370b5ea9142f069ec3f488141 100644 (file)
@@ -3067,7 +3067,7 @@ msg_clr_cmdline()
 msg_end()
 {
     /*
-     * if the string is larger than the window,
+     * 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.
index 0eb5903418dfef5925700856dbd6fb5032d1a468..3ee6e551602b0285254c0efc81dfbe393baefca2 100644 (file)
--- a/src/ops.c
+++ b/src/ops.c
@@ -2891,7 +2891,7 @@ free_yank_all()
  * 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
+ * Return FAIL for failure, OK otherwise.
  */
     int
 op_yank(oap, deleting, mess)
index 2f1ef11309f16af5baa8c7fb66a4f6a8ea62f9a0..bf655560a41f11699d8a164a932486228e50ab92 100644 (file)
@@ -11452,6 +11452,7 @@ change_compatible(on)
 
 /*
  * Return TRUE when option "name" has been set.
+ * Only works correctly for global options.
  */
     int
 option_was_set(name)
index 07716b544bc25cd2eb5c6283aa4d1055a10f2b48..e71b778aab65892c711d7ee8f3469f21a2d41ae6 100644 (file)
@@ -727,6 +727,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    47,
 /**/
     46,
 /**/