• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Revision04943f31135747da59cbed2b39fb109dd2796426 (tree)
Zeit2006-11-21 19:29:45
Autorvimboss
Commitervimboss

Log Message

updated for version 7.0-165

Ändern Zusammenfassung

Diff

diff -r 777d5460622d -r 04943f311357 src/ex_getln.c
--- a/src/ex_getln.c Tue Nov 14 19:25:02 2006 +0000
+++ b/src/ex_getln.c Tue Nov 21 10:29:45 2006 +0000
@@ -34,7 +34,7 @@
3434 int xp_context; /* type of expansion */
3535 # ifdef FEAT_EVAL
3636 char_u *xp_arg; /* user-defined expansion arg */
37- int input_fn; /* Invoked for input() function */
37+ int input_fn; /* when TRUE Invoked for input() function */
3838 # endif
3939 };
4040
@@ -1390,7 +1390,17 @@
13901390 {
13911391 c = gchar_cursor();
13921392 if (c != NUL)
1393+ {
1394+ if (c == firstc || vim_strchr((char_u *)(
1395+ p_magic ? "\\^$.*[" : "\\^$"), c)
1396+ != NULL)
1397+ {
1398+ /* put a backslash before special characters */
1399+ stuffcharReadbuff(c);
1400+ c = '\\';
1401+ }
13931402 break;
1403+ }
13941404 }
13951405 goto cmdline_not_changed;
13961406 }
diff -r 777d5460622d -r 04943f311357 src/version.c
--- a/src/version.c Tue Nov 14 19:25:02 2006 +0000
+++ b/src/version.c Tue Nov 21 10:29:45 2006 +0000
@@ -667,6 +667,8 @@
667667 static int included_patches[] =
668668 { /* Add new patch number below this line */
669669 /**/
670+ 165,
671+/**/
670672 164,
671673 /**/
672674 163,
Show on old repository browser