Permalink
Browse files

Bugfix: Remove meaningless error check which causes a more severe err…

…or in the first place by not restoring the comint-filter.
  • Loading branch information...
1 parent 68a7ad3 commit 6ad10268b373b5e6a924775a76c9eb4359d2546d @nonsequitur committed Jun 22, 2010
Showing with 0 additions and 1 deletion.
  1. +0 −1 inf-ruby.el
View
@@ -331,7 +331,6 @@ Then switch to the process buffer."
(ruby-escape-single-quoted seed)))
(while (and (not (string-match inf-ruby-prompt-pattern kept))
(accept-process-output proc 2)))
- (if (string-match "^[[:alpha:]]+?Error: " kept) (error kept))
(setf completions (cdr (butlast (split-string kept "[\r\n]") 2)))
(set-process-filter proc comint-filt)
completions))

0 comments on commit 6ad1026

Please sign in to comment.