From 61e526ff3496462b30722234d891a4fe15246cf9 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 17 Dec 2015 00:39:51 +0100 Subject: [PATCH] Fix switching rvm versions when switching projects --- emacs/.emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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