# HG changeset patch # User Steve Losh # Date 1286637258 14400 # Node ID 717091909bd6e44e3e37492ee7b5b0bf7eb21c92 # Parent 328f098fb33ef9ef93c93415da87835cf3c9f68c Rename a confusing variable. diff -r 328f098fb33e -r 717091909bd6 plugin/gundo.vim --- a/plugin/gundo.vim Sat Oct 09 11:13:06 2010 -0400 +++ b/plugin/gundo.vim Sat Oct 09 11:14:18 2010 -0400 @@ -573,13 +573,13 @@ result = generate(walk_nodes(dag), asciiedges, current).splitlines() result = [' ' + l for l in result] -current = (vim.eval('g:gundo_target_f'), int(vim.eval('g:gundo_target_n'))) +target = (vim.eval('g:gundo_target_f'), int(vim.eval('g:gundo_target_n'))) INLINE_HELP = ('''\ " Gundo for %s [%d] " j/k - move between undo states " - revert to that state -''' % current).splitlines() +''' % target).splitlines() vim.command('GundoOpenBuffer') vim.command('setlocal modifiable')