lib/textbringer/modes/backtrace_mode.rb in textbringer-1.0.1 vs lib/textbringer/modes/backtrace_mode.rb in textbringer-1.0.2
- old
+ new
@@ -1,9 +1,9 @@
module Textbringer
class BacktraceMode < Mode
define_generic_command :jump_to_source_location
- BACKTRACE_MODE_MAP = Keymap.new
+ define_keymap :BACKTRACE_MODE_MAP
BACKTRACE_MODE_MAP.define_key("\C-m", :jump_to_source_location_command)
define_syntax :link, /^\S*?:\d+:(?:\d+:)?/
def initialize(buffer)