aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2020-10-13 10:45:12 -0400
committerGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2020-10-13 10:45:12 -0400
commit24de99fb828441c367a62886cc6800babe72cc57 (patch)
treeeec1f5ac5dca8682d575dd6fefff903f3301837f /modules
parent9292a335d7a9dfd102c10ca66a1210aa39ac3739 (diff)
Moved `ui.command_entry.active` into C.
It's more reliable and is similar to `ui.find.active`.
Diffstat (limited to 'modules')
-rw-r--r--modules/textadept/command_entry.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/textadept/command_entry.lua b/modules/textadept/command_entry.lua
index f6a82baa..18f72e20 100644
--- a/modules/textadept/command_entry.lua
+++ b/modules/textadept/command_entry.lua
@@ -253,7 +253,6 @@ end
local orig_focus = M.focus
M.focus = function()
keys.mode = prev_key_mode
- M.active = not M.active
orig_focus()
end