diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-08-12 13:15:29 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2020-08-18 14:38:01 +0900 |
commit | 7fa86de15b2a8aa85919f4aa76e86acbb9a43564 (patch) | |
tree | e538bdcb5fc6267054ef21ef7693d2485009b904 /lib | |
parent | 82d4da7816d114e31395441aca3c86111f1251bd (diff) |
[ruby/irb] Workaround a bug of ruby-mode.el
https://github.com/ruby/irb/commit/6dfd59400d
Diffstat (limited to 'lib')
-rw-r--r-- | lib/irb/ext/save-history.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/ext/save-history.rb b/lib/irb/ext/save-history.rb index 7ba12378c7..ac358c8ccb 100644 --- a/lib/irb/ext/save-history.rb +++ b/lib/irb/ext/save-history.rb @@ -25,7 +25,7 @@ module IRB 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. # |