Skip to content
Snippets Groups Projects
Commit c9efe303 authored by Connor Atherton's avatar Connor Atherton
Browse files

Merge branch 'camdez-handle-unknown-commands'

parents 28588baf 79aca53d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2380,7 +2380,8 @@ module RbReadline
return :rl_beg_of_line
else
if name =~ /^[-a-z]+$/
return ('rl_'+name.gsub('-','_')).to_sym
method = ('rl_' + name.gsub('-', '_')).to_sym
return method if respond_to?(method)
end
end
nil
Loading
Loading
@@ -2416,7 +2417,8 @@ module RbReadline
 
if string =~ /"(.*)"\s*:\s*(.*)$/
key, funname = $1, $2
rl_bind_key(key, rl_named_function(funname))
func = rl_named_function(funname)
rl_bind_key(key, func) if func
end
 
0
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment