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

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

[nongnu] elpa/inf-ruby 2fae1a8ba9 248/265: Change 'C-x C-e' binding to u


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 2fae1a8ba9 248/265: Change 'C-x C-e' binding to use the new command
Date: Sat, 9 Jul 2022 21:59:30 -0400 (EDT)

branch: elpa/inf-ruby
commit 2fae1a8ba9e7f4fa87b468f90bea3d11d3a7c387
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Change 'C-x C-e' binding to use the new command
    
    #148
---
 inf-ruby.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index b5a73f390a..b35f7d9495 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -165,7 +165,7 @@ graphical char in all other prompts.")
 (defvar inf-ruby-mode-map
   (let ((map (copy-keymap comint-mode-map)))
     (define-key map (kbd "C-c C-l") 'ruby-load-file)
-    (define-key map (kbd "C-x C-e") 'ruby-send-last-sexp)
+    (define-key map (kbd "C-x C-e") 'ruby-send-last-stmt)
     (define-key map (kbd "TAB") 'completion-at-point)
     (define-key map (kbd "C-x C-q") 'inf-ruby-maybe-switch-to-compilation)
     (define-key map (kbd "C-c C-z") 'ruby-switch-to-last-ruby-buffer)
@@ -206,7 +206,7 @@ next one.")
 (defvar inf-ruby-minor-mode-map
   (let ((map (make-sparse-keymap)))
     (define-key map (kbd "C-M-x") 'ruby-send-definition)
-    (define-key map (kbd "C-x C-e") 'ruby-send-last-sexp)
+    (define-key map (kbd "C-x C-e") 'ruby-send-last-stmt)
     (define-key map (kbd "C-c C-b") 'ruby-send-block)
     (define-key map (kbd "C-c M-b") 'ruby-send-block-and-go)
     (define-key map (kbd "C-c C-x") 'ruby-send-definition)
@@ -223,7 +223,7 @@ next one.")
       '("Inf-Ruby"
         ;; TODO: Add appropriate :active (or ENABLE) conditions.
         ["Send definition" ruby-send-definition t]
-        ["Send last expression" ruby-send-last-sexp t]
+        ["Send last statement" ruby-send-last-stmt t]
         ["Send block" ruby-send-block t]
         ["Send region" ruby-send-region t]
         "--"



reply via email to

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