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)
This commit is contained in:
Carlos Pita 2021-10-13 21:09:40 -03:00 committed by Stefan Kangas
parent f80d701ec8
commit a0973fa7a6

View file

@ -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