emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ess 2b13c10ebf 2/2: Delete new-line check with arbitrar


From: ELPA Syncer
Subject: [elpa] externals/ess 2b13c10ebf 2/2: Delete new-line check with arbitrary prompts
Date: Tue, 8 Nov 2022 10:57:48 -0500 (EST)

branch: externals/ess
commit 2b13c10ebf5d7251a9b1b3ff79785e403439cf64
Author: Lionel Henry <lionel.hry@gmail.com>
Commit: Lionel Henry <lionel.hry@gmail.com>

    Delete new-line check with arbitrary prompts
    
    Needs a test. To reproduce:
    
    ```
    options(prompt = "R> ")
    ```
    
    And type at the console.
---
 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 74e95463ab..b5e81b0084 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]