summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/init.el')
-rw-r--r--emacs/.emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index c2c9c0e..c3a7123 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -1085,7 +1085,7 @@ If no direction is given, don't split."
(add-hook 'ruby-mode-hook 'ruby-tools-mode)
(add-hook 'ruby-mode-hook 'ruby-refactor-mode-launch)
(add-hook 'ruby-mode-hook 'robe-mode)
-(add-hook 'projectile-switch-project-hook #'oni:select-corresponding-ruby)
+(add-hook 'projectile-after-switch-project-hook #'oni:select-corresponding-ruby)
(add-hook 'prog-mode-hook 'highlight-numbers-mode)
(oni:add-function-to-hooks #'oni:make-readable