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

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

[nongnu] elpa/inf-ruby 46917f463c 151/265: Integrate with projectile-rai


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 46917f463c 151/265: Integrate with projectile-rails-server-mode
Date: Sat, 9 Jul 2022 21:59:21 -0400 (EDT)

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

    Integrate with projectile-rails-server-mode
    
    Closes #79
---
 inf-ruby.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index 08972b1f40..ed4a0533f9 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -68,7 +68,8 @@
 
 (eval-when-compile
   (defvar rspec-compilation-mode-map)
-  (defvar ruby-compilation-mode-map))
+  (defvar ruby-compilation-mode-map)
+  (defvar projectile-rails-server-mode-map))
 
 (defgroup inf-ruby nil
   "Run Ruby process in a buffer"
@@ -611,6 +612,9 @@ keymaps to bind `inf-ruby-switch-from-compilation' to `ะก-x 
C-q'."
        'inf-ruby-switch-from-compilation))
   (eval-after-load 'ruby-compilation
     '(define-key ruby-compilation-mode-map (kbd "C-x C-q")
+       'inf-ruby-switch-from-compilation))
+  (eval-after-load 'projectile-rails-server-mode
+    '(define-key projectile-rails-server-mode-map (kbd "C-x C-q")
        'inf-ruby-switch-from-compilation)))
 
 (defvar inf-ruby-console-patterns-alist



reply via email to

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