Permalink
Browse files

Rename: inf-ruby-keys -> inf-ruby-setup-keybindings

The old naming was opaque about the function's purpose.
  • Loading branch information...
1 parent 28c24e3 commit 86db14c3155ae72069fb0e4cbd635765c095331d @nonsequitur committed Apr 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 inf-ruby.el
View
@@ -80,7 +80,7 @@ next one.")
("^\tfrom \\([^\(].*\\):\\([1-9][0-9]*\\)\\(:in `.*'\\)?$" 1 2)))
;;;###autoload
-(defun inf-ruby-keys ()
+(defun inf-ruby-setup-keybindings ()
"Set local key defs to invoke inf-ruby from ruby-mode."
(define-key ruby-mode-map "\M-\C-x" 'ruby-send-definition)
(define-key ruby-mode-map "\C-x\C-e" 'ruby-send-last-sexp)
@@ -373,7 +373,7 @@ Module used by readline when running irb through a terminal"
;;;###autoload
(eval-after-load 'ruby-mode
- '(inf-ruby-keys))
+ '(inf-ruby-setup-keybindings))
(provide 'inf-ruby)
;;; inf-ruby.el ends here

0 comments on commit 86db14c

Please sign in to comment.