Permalink
Browse files

Merge pull request #7 from lewang/patch-1

use `eval-after' to bind keys instead of hooking
  • Loading branch information...
2 parents ec0d30a + fd0ecca commit 28c24e3e70c36bfeb1607344de63641641950c95 @nonsequitur committed Apr 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 inf-ruby.el
View
@@ -373,7 +373,7 @@ Module used by readline when running irb through a terminal"
;;;###autoload
(eval-after-load 'ruby-mode
- '(add-hook 'ruby-mode-hook 'inf-ruby-keys))
+ '(inf-ruby-keys))
(provide 'inf-ruby)
;;; inf-ruby.el ends here

0 comments on commit 28c24e3

Please sign in to comment.