ruby-changes:62616
From: Nobuyoshi <ko1@a...>
Date: Tue, 18 Aug 2020 18:57:11 +0900 (JST)
Subject: [ruby-changes:62616] 7fa86de15b (master): [ruby/irb] Workaround a bug of ruby-mode.el
https://git.ruby-lang.org/ruby.git/commit/?id=7fa86de15b From 7fa86de15b2a8aa85919f4aa76e86acbb9a43564 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 12 Aug 2020 13:15:29 +0900 Subject: [ruby/irb] Workaround a bug of ruby-mode.el https://github.com/ruby/irb/commit/6dfd59400d diff --git a/lib/irb/ext/save-history.rb b/lib/irb/ext/save-history.rb index 7ba1237..ac358c8 100644 --- a/lib/irb/ext/save-history.rb +++ b/lib/irb/ext/save-history.rb @@ -25,7 +25,7 @@ module IRB https://github.com/ruby/ruby/blob/trunk/lib/irb/ext/save-history.rb#L25 IRB.conf[:SAVE_HISTORY] end - remove_method :save_history= if method_defined?(:save_history=) + remove_method(:save_history=) if method_defined?(:save_history=) # Sets <code>IRB.conf[:SAVE_HISTORY]</code> to the given +val+ and calls # #init_save_history with this context. # -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/