branch: elpa/inf-ruby
commit 7d216e5c8fe114bed0152a440c502440f58b7da7
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
inf-ruby-wrapper-command: Set the default value to nil
#190
---
inf-ruby.el | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/inf-ruby.el b/inf-ruby.el
index 09533d3cb8..5d7aef2685 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -103,10 +103,12 @@ returns a string."
inf-ruby-implementations))
:group 'inf-ruby)
-(defcustom inf-ruby-wrapper-command ""
- "Launcher command pattern to format the auto-detected command.
-Useful for running the shell in another host or a container (such as Docker).
Must include %s."
- :type 'string
+(defcustom inf-ruby-wrapper-command nil
+ "Command template to format the auto-detected project console command.
+Useful for running the shell in another host or a container (such as Docker).
+So when used it must include %s. Set to nil to disable."
+ :type '(choice (const :tag "Not used" nil)
+ (string :tag "Command template"))
:group 'inf-ruby)
(defun inf-ruby--irb-command ()