From d024134fbea1c42cf3838a663b4dfca705e796c9 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 9 Aug 2007 15:32:47 +0000 Subject: [PATCH] use vimperator.buffer.location rather than replaced getCurrentLocation() for "y" mapping --- chrome/content/vimperator/mappings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/vimperator/mappings.js b/chrome/content/vimperator/mappings.js index fcf8d287..b6e86e2e 100644 --- a/chrome/content/vimperator/mappings.js +++ b/chrome/content/vimperator/mappings.js @@ -538,7 +538,7 @@ function Mappings() //{{{ addDefaultMap(new Map(vimperator.modes.NORMAL, ["y"], function() { - var loc = getCurrentLocation(); + var loc = vimperator.buffer.location; vimperator.copyToClipboard(loc); vimperator.echo("Yanked " + loc); },