Mercurial > dotfiles
view .irbrc @ 354:3d46ce32c14e
which-function-mode: only enable in emacs 24.4 and later
Emacs 24.3.x has a bug in which-function-mode that causes my emacs to
lock up for several seconds. Rather than tolerate that, just disable
which-function-mode on those systems.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 18 Nov 2014 17:17:36 -0500 |
parents | b2d9ac793cb0 |
children |
line wrap: on
line source
# -*- mode:ruby -*- IRB.conf[:AUTO_INDENT] = true IRB.conf[:USE_READLINE] = true IRB.conf[:LOAD_MODULES] = [] unless IRB.conf.key?(:LOAD_MODULES) unless IRB.conf[:LOAD_MODULES].include?('irb/completion') IRB.conf[:LOAD_MODULES] << 'irb/completion' end IRB.conf[:SAVE_HISTORY] = 1000 IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history"