1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/irb] Workaround a bug of ruby-mode.el

https://github.com/ruby/irb/commit/6dfd59400d
This commit is contained in:
Nobuyoshi Nakada 2020-08-12 13:15:29 +09:00 committed by aycabta
parent 82d4da7816
commit 7fa86de15b

View file

@ -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.
#