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

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

[nongnu] elpa/inf-ruby 00237986d8 130/265: Turn `inf-ruby-implementation


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 00237986d8 130/265: Turn `inf-ruby-implementations` into custom form
Date: Sat, 9 Jul 2022 21:59:19 -0400 (EDT)

branch: elpa/inf-ruby
commit 00237986d8259f459a0ce747d76516451096e969
Author: Vasilij Schneidermann <v.schneidermann@gmail.com>
Commit: Vasilij Schneidermann <v.schneidermann@gmail.com>

    Turn `inf-ruby-implementations` into custom form
---
 inf-ruby.el | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index 5a5fe36539..9f7cc531cb 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -70,6 +70,17 @@ Also see the description of `ielm-prompt-read-only'."
   :type 'boolean
   :group 'inf-ruby)
 
+(defcustom inf-ruby-implementations
+  '(("ruby"     . "irb --prompt default --noreadline -r irb/completion")
+    ("jruby"    . "jruby -S irb --prompt default --noreadline -r 
irb/completion")
+    ("rubinius" . "rbx -r irb/completion")
+    ("yarv"     . "irb1.9 -r irb/completion")
+    ("macruby"  . "macirb -r irb/completion")
+    ("pry"      . "pry"))
+  "An alist of ruby implementations to irb executable names."
+  :type '(repeat (cons string string))
+  :group 'inf-ruby)
+
 (defcustom inf-ruby-default-implementation "ruby"
   "Which Ruby implementation to use if none is specified."
   :type `(choice ,@(mapcar (lambda (item) (list 'const (car item)))
@@ -113,16 +124,6 @@ graphical char in all other prompts.")
     map)
   "Mode map for `inf-ruby-mode'.")
 
-;;;###autoload
-(defvar inf-ruby-implementations
-  '(("ruby"     . "irb --prompt default --noreadline -r irb/completion")
-    ("jruby"    . "jruby -S irb --prompt default --noreadline -r 
irb/completion")
-    ("rubinius" . "rbx -r irb/completion")
-    ("yarv"     . "irb1.9 -r irb/completion")
-    ("macruby"  . "macirb -r irb/completion")
-    ("pry"      . "pry"))
-  "An alist of ruby implementations to irb executable names.")
-
 ;;;###autoload
 (defvar ruby-source-modes '(ruby-mode enh-ruby-mode)
   "Used to determine if a buffer contains Ruby source code.



reply via email to

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