emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/inf-ruby 86db14c315 022/265: Rename: inf-ruby-keys -> inf-


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 86db14c315 022/265: Rename: inf-ruby-keys -> inf-ruby-setup-keybindings
Date: Sat, 9 Jul 2022 21:59:10 -0400 (EDT)

branch: elpa/inf-ruby
commit 86db14c3155ae72069fb0e4cbd635765c095331d
Author: Cornelius Mika <cornelius.mika@gmail.com>
Commit: Cornelius Mika <cornelius.mika@gmail.com>

    Rename: inf-ruby-keys -> inf-ruby-setup-keybindings
    
    The old naming was opaque about the function's purpose.
---
 inf-ruby.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index 85940b545e..7900beae0b 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]