• R/O
  • SSH

vim: Commit

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


Commit MetaInfo

Revisionf49d72bf9c5c425dfb8bb94c6bac975716e3023c (tree)
Time2006-10-10 19:55:47
Authorvimboss
Commitervimboss

Log Message

updated for version 7.0-124

Change Summary

Incremental Difference

diff -r 86289e90a4bb -r f49d72bf9c5c src/eval.c
--- a/src/eval.c Tue Oct 10 09:41:28 2006 +0000
+++ b/src/eval.c Tue Oct 10 10:55:47 2006 +0000
@@ -10432,20 +10432,14 @@
1043210432
1043310433 if (win != NULL && varname != NULL)
1043410434 {
10435+ /* Set curwin to be our win, temporarily. Also set curbuf, so
10436+ * that we can get buffer-local options. */
10437+ oldcurwin = curwin;
10438+ curwin = win;
10439+ curbuf = win->w_buffer;
10440+
1043510441 if (*varname == '&') /* window-local-option */
10436- {
10437- /* Set curwin to be our win, temporarily. Also set curbuf, so
10438- * that we can get buffer-local options. */
10439- oldcurwin = curwin;
10440- curwin = win;
10441- curbuf = win->w_buffer;
10442-
1044310442 get_option_tv(&varname, rettv, 1);
10444-
10445- /* restore previous notion of curwin */
10446- curwin = oldcurwin;
10447- curbuf = curwin->w_buffer;
10448- }
1044910443 else
1045010444 {
1045110445 if (*varname == NUL)
@@ -10458,6 +10452,10 @@
1045810452 if (v != NULL)
1045910453 copy_tv(&v->di_tv, rettv);
1046010454 }
10455+
10456+ /* restore previous notion of curwin */
10457+ curwin = oldcurwin;
10458+ curbuf = curwin->w_buffer;
1046110459 }
1046210460
1046310461 --emsg_off;
diff -r 86289e90a4bb -r f49d72bf9c5c src/version.c
--- a/src/version.c Tue Oct 10 09:41:28 2006 +0000
+++ b/src/version.c Tue Oct 10 10:55:47 2006 +0000
@@ -667,6 +667,8 @@
667667 static int included_patches[] =
668668 { /* Add new patch number below this line */
669669 /**/
670+ 124,
671+/**/
670672 123,
671673 /**/
672674 122,
Show on old repository browser