From 623ea135c0fc6210f40fe24671732c2ef1d0c951 Mon Sep 17 00:00:00 2001 From: John Foerch Date: Sat, 2 May 2009 11:45:30 -0400 Subject: [PATCH] current_buffer_input_mode_change_hook: removed There is no such hook as "input_mode_change_hook", so this never gets called. --- modules/content-buffer-input.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/content-buffer-input.js b/modules/content-buffer-input.js index bdccdf1..02eec33 100644 --- a/modules/content-buffer-input.js +++ b/modules/content-buffer-input.js @@ -8,8 +8,6 @@ require("content-buffer.js"); -define_current_buffer_hook("current_buffer_input_mode_change_hook", "input_mode_change_hook"); - var content_buffer_input_mode_keymaps = {}; function define_input_mode(base_name, display_name, keymap_name, doc) { @@ -172,7 +170,6 @@ function minibuffer_input_mode_indicator(window) { this.window = window; this.hook_func = method_caller(this, this.update); add_hook.call(window, "select_buffer_hook", this.hook_func); - add_hook.call(window, "current_buffer_input_mode_change_hook", this.hook_func); this.update(); } @@ -185,7 +182,6 @@ minibuffer_input_mode_indicator.prototype = { }, uninstall : function () { remove_hook.call(window, "select_buffer_hook", this.hook_func); - remove_hook.call(window, "current_buffer_input_mode_change_hook", this.hook_func); } }; -- 2.11.4.GIT