emacs-diffs
[Top][All Lists]
Advanced

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

master a0973fa: Match dummy output even with non-default rl config


From: Stefan Kangas
Subject: master a0973fa: Match dummy output even with non-default rl config
Date: Fri, 5 Nov 2021 03:02:52 -0400 (EDT)

branch: master
commit a0973fa7a6e8162033abe29084f7b255976c74bc
Author: Carlos Pita <carlosjosepita@gmail.com>
Commit: Stefan Kangas <stefan@marxist.se>

    Match dummy output even with non-default rl config
    
    * lisp/progmodes/python.el
    (python-shell-completion-native-get-completions): Match dummy output
    even when readline is configured in non-default ways.  (Bug#51010)
---
 lisp/progmodes/python.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 7b0295a..b12f5dd 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -3805,7 +3805,7 @@ With argument MSG show activation/deactivation message."
                   (comint-redirect-perform-sanity-check nil)
                   (comint-redirect-insert-matching-regexp t)
                   (comint-redirect-finished-regexp
-                   "1__dummy_completion__[[:space:]]*\n")
+                   "1__dummy_completion__.*\n")
                   (comint-redirect-output-buffer redirect-buffer))
               ;; Compatibility with Emacs 24.x.  Comint changed and
               ;; now `comint-redirect-filter' gets 3 args.  This



reply via email to

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