branch: elpa/inf-ruby
commit 87b96ca8875fc5a12b85c28117fb38bc49df4e4e
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>

    Drop --inf-ruby-mode
    
    Closes #13
---
 inf-ruby.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index a849e2ab79..aa467c1312 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -51,10 +51,10 @@
   "*Mode map for inf-ruby-mode")
 
 (defvar inf-ruby-implementations
-  '(("ruby"     . "irb --inf-ruby-mode -r irb/completion")
+  '(("ruby"     . "irb -r irb/completion")
     ("jruby"    . "jruby -S irb -r irb/completion")
     ("rubinius" . "rbx -r irb/completion")
-    ("yarv"     . "irb1.9 --inf-ruby-mode -r irb/completion")
+    ("yarv"     . "irb1.9 -r irb/completion")
     ("macruby"  . "macirb -r irb/completion"))
   "An alist of ruby implementations to irb executable names.")
 
@@ -144,7 +144,7 @@ to continue it."
 (defun inf-ruby-output-filter (output)
   "Check if the current prompt is a top-level prompt"
   (setq inf-ruby-at-top-level-prompt-p
-        (string-match inf-ruby-prompt-pattern
+        (string-match inf-ruby-first-prompt-pattern
                       (car (last (split-string output "\n"))))))
 
 ;; adapted from replace-in-string in XEmacs (subr.el)

Reply via email to