lib/textbringer/commands/misc.rb in textbringer-1.0.1 vs lib/textbringer/commands/misc.rb in textbringer-1.0.2

- old
+ new

@@ -137,10 +137,10 @@ complete_minibuffer_with_string(s) end end end - UNIVERSAL_ARGUMENT_MAP = Keymap.new + define_keymap :UNIVERSAL_ARGUMENT_MAP (?0..?9).each do |c| UNIVERSAL_ARGUMENT_MAP.define_key(c, :digit_argument) GLOBAL_MAP.define_key("\e#{c}", :digit_argument) end UNIVERSAL_ARGUMENT_MAP.define_key(?-, :negative_argument)