Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: save last position in vi-goto-mark



I guess we need to fix a typo as follows:


Index: Src/Zle/zle_move.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/zle_move.c,v
retrieving revision 1.23
diff -u -r1.23 zle_move.c
--- Src/Zle/zle_move.c	9 Feb 2013 21:27:47 -0000	1.23
+++ Src/Zle/zle_move.c	28 Mar 2013 10:03:46 -0000
@@ -844,7 +844,7 @@
     }
     zlecs = vimarkcs[ch];
     vimarkcs[26] = oldcs;
-    vimarkline[26] = histline;
+    vimarkline[26] = oldline;
     if (zlecs > zlell)
 	zlecs = zlell;
     return 0;




Messages sorted by: Reverse Date, Date, Thread, Author