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

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

[nongnu] elpa/inf-ruby d4d2451d16 111/265: Apply `defcustom` fixes


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby d4d2451d16 111/265: Apply `defcustom` fixes
Date: Sat, 9 Jul 2022 21:59:18 -0400 (EDT)

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

    Apply `defcustom` fixes
    
    The first form was already a `defcustom` form, but didn't have type and
    group specified.  The second form was turned into a `defcustom` form
    additionally to these changes.
---
 inf-ruby.el | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index 1e0201bdd2..b7b137a8cf 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -66,10 +66,14 @@
 (defcustom inf-ruby-prompt-read-only t
   "If non-nil, the prompt will be read-only.
 
-Also see the description of `ielm-prompt-read-only'.")
-
-(defvar inf-ruby-default-implementation "ruby"
-  "Which Ruby implementation to use if none is specified.")
+Also see the description of `ielm-prompt-read-only'."
+  :type 'boolean
+  :group 'inf-ruby)
+
+(defcustom inf-ruby-default-implementation "ruby"
+  "Which Ruby implementation to use if none is specified."
+  :type 'string
+  :group 'inf-ruby)
 
 (defconst inf-ruby-prompt-format
   (concat



reply via email to

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