lib/reline/config.rb in reline-0.1.10 vs lib/reline/config.rb in reline-0.2.0

- old
+ new

@@ -36,10 +36,11 @@ show-mode-in-prompt vi-cmd-mode-icon vi-ins-mode-icon emacs-mode-string enable-bracketed-paste + isearch-terminators } VARIABLE_NAME_SYMBOLS = VARIABLE_NAMES.map { |v| :"#{v.tr(?-, ?_)}" } VARIABLE_NAME_SYMBOLS.each do |v| attr_accessor v end @@ -236,10 +237,10 @@ when 'comment-begin' @comment_begin = value.dup when 'completion-query-items' @completion_query_items = value.to_i when 'isearch-terminators' - @isearch_terminators = instance_eval(value) + @isearch_terminators = retrieve_string(value) when 'editing-mode' case value when 'emacs' @editing_mode_label = :emacs @keymap_label = :emacs