]> git.eshelyaron.com Git - emacs.git/commitdiff
Match dummy output even with non-default rl config
authorCarlos Pita <carlosjosepita@gmail.com>
Thu, 14 Oct 2021 00:09:40 +0000 (21:09 -0300)
committerStefan Kangas <stefan@marxist.se>
Fri, 5 Nov 2021 07:02:31 +0000 (08:02 +0100)
* 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

index 7b0295afb74be6ebd3f628b094b34c1c3a7dd3b3..b12f5ddc0d106b4d87c10acb0c27cec67de794b7 100644 (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