From a0973fa7a6e8162033abe29084f7b255976c74bc Mon Sep 17 00:00:00 2001 From: Carlos Pita Date: Wed, 13 Oct 2021 21:09:40 -0300 Subject: [PATCH] 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 7b0295afb74..b12f5ddc0d1 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 -- 2.39.2