buffer.override_keymaps: dealt with privately inside buffer
commit84ae9edc271211b7bd5d386fa9c0fb7718f3d9ec
authorJohn Foerch <jjfoerch@earthlink.net>
Thu, 17 Jun 2010 00:56:45 +0000 (16 20:56 -0400)
committerJohn Foerch <jjfoerch@earthlink.net>
Thu, 17 Jun 2010 15:20:53 +0000 (17 11:20 -0400)
tree83b28d790d2a6b67fd3619185928ef3cc8cdd1a9
parent53b6ad6734fd3cea0ed2c83da4b1c17faf3bfec7
buffer.override_keymaps: dealt with privately inside buffer

Instead of having get_current_keymaps handle buffers in a special way, as
opposed to the minibuffer, or other possible contexts, we now handle
override_keymaps internally to the buffer, so that the outside world need
only concern itself with buffer.keymaps.  buffer.override_keymaps is now a
function --- "override" being a verb.  When called with a keymap stack, it
uses that stack to override buffer.keymaps.  When called with no argument,
it turns off the override.  The exact implementation may be up for further
tinkering.  For the moment, the only caller is quote_mode.
modules/buffer.js
modules/input.js
modules/quote.js