[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ess 7ec23bf341: Simplify `string-match-p`
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ess 7ec23bf341: Simplify `string-match-p` |
Date: |
Tue, 8 Nov 2022 12:57:40 -0500 (EST) |
branch: externals/ess
commit 7ec23bf341c23445c98f5e1faf6a1369b92f2e9f
Author: Lionel Henry <lionel.hry@gmail.com>
Commit: Lionel Henry <lionel.hry@gmail.com>
Simplify `string-match-p`
Suggestion from Stefan Monnier
---
lisp/ess-inf.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/ess-inf.el b/lisp/ess-inf.el
index b5e81b0084..ae86054a99 100644
--- a/lisp/ess-inf.el
+++ b/lisp/ess-inf.el
@@ -394,7 +394,7 @@ Return non-nil if the process is in a ready (not busy)
state."
;; When "\n" inserted from inferior-ess-available-p, delete the prompt.
(when (and ready
(process-get proc 'availability-check)
- (string-match-p (concat ".*" inferior-ess-primary-prompt "\\'")
string))
+ (string-match-p (concat inferior-ess-primary-prompt "\\'")
string))
(process-put proc 'suppress-next-output? t))
(process-put proc 'availability-check nil)
(when ready
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/ess 7ec23bf341: Simplify `string-match-p`,
ELPA Syncer <=