[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-ruby 4d18cfb726 1/3: fix ruby-print-result for pry
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-ruby 4d18cfb726 1/3: fix ruby-print-result for pry |
Date: |
Fri, 22 Sep 2023 22:00:40 -0400 (EDT) |
branch: elpa/inf-ruby
commit 4d18cfb726fc4d2e04cb8d0cc71a1e674c8206de
Author: bo-tato <122528427+bo-tato@users.noreply.github.com>
Commit: bo-tato <122528427+bo-tato@users.noreply.github.com>
fix ruby-print-result for pry
---
inf-ruby.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/inf-ruby.el b/inf-ruby.el
index 92045ec692..ceefd4d533 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -663,7 +663,7 @@ This function also removes itself from `pre-command-hook'."
(looking-at inf-ruby-first-prompt-pattern)))
(accept-process-output proc))
(re-search-backward inf-ruby-prompt-pattern)
- (or (re-search-forward " => " (car comint-last-prompt) t)
+ (or (re-search-forward "=> " (car comint-last-prompt) t)
;; Evaluation seems to have failed.
;; Try to extract the error string.
(let* ((inhibit-field-text-motion t)