Skip to content

Commit 7e02410

Browse files
tompngmatzbot
authored andcommitted
[ruby/reline] Don't skip start_with check on encoding-incompatible
candidates (ruby/reline#787) ruby/reline@8588be652f
1 parent c06dcba commit 7e02410

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/reline/line_editor.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -812,8 +812,6 @@ def editing_mode
812812
if defined?(::Readline) && ::Readline == ::Reline
813813
raise Encoding::CompatibilityError, "incompatible character encodings: #{target.encoding} and #{item.encoding}"
814814
end
815-
816-
next true
817815
end
818816

819817
if @config.completion_ignore_case

0 commit comments

Comments
 (0)