From a32a13755cc9decafc70cfe68633028d50f3ee90 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 29 Nov 2007 13:10:57 +0000 Subject: [PATCH] fix typo in v.mappings.hasMap --- content/mappings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/mappings.js b/content/mappings.js index d8f221b4..53dbe0c7 100644 --- a/content/mappings.js +++ b/content/mappings.js @@ -192,7 +192,7 @@ vimperator.Mappings = function () //{{{ hasMap: function (mode, cmd) { - return userMaps.some(function (map) { return map.hasName(cmd); }); + return user[mode].some(function (map) { return map.hasName(cmd); }); }, add: function (map)