fix a backwards compatibility bug with maps

Do an unlet <old key> when over riding a method on a prototype object.
Some older versions of vim spaz out otherwise.

Note: i was using these unlets up until a few versions ago when the were
refactored out
This commit is contained in:
Martin Grenfell
2008-10-16 22:55:44 +13:00
parent 094074d8c6
commit ae0d744357
2 changed files with 10 additions and 1 deletions

View File

@@ -901,6 +901,10 @@ fridge for later ;)
==============================================================================
7. Changelog *NERDTreeChangelog*
2.14.2
- compatibility bugfix for older version of vim, thanks to knekk for
helping me track it down
2.14.1
- dont clobber &cpo. Thanks to godlygeek for the bug report.
@@ -1227,6 +1231,9 @@ handling named pipes.
Chur to godlygeek for reporting a bug where &cpo was getting clobbered.
Cheers to knekk for helping me track down a bug when overwriting dictionary
keys that only occurred in some versions of vim.
==============================================================================
9. License *NERDTreeLicense*