aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorCarlos Pita2021-10-13 21:09:40 -0300
committerStefan Kangas2021-11-05 08:02:31 +0100
commita0973fa7a6e8162033abe29084f7b255976c74bc (patch)
tree1d51e108a00d57cca8b6229d3a82f7789b27e07b /lisp/progmodes/python.el
parentf80d701ec8966800e0f71038df9eb3580ed7b320 (diff)
downloademacs-a0973fa7a6e8162033abe29084f7b255976c74bc.tar.gz
emacs-a0973fa7a6e8162033abe29084f7b255976c74bc.zip
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)
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 1 insertions, 1 deletions
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."
3805 (comint-redirect-perform-sanity-check nil) 3805 (comint-redirect-perform-sanity-check nil)
3806 (comint-redirect-insert-matching-regexp t) 3806 (comint-redirect-insert-matching-regexp t)
3807 (comint-redirect-finished-regexp 3807 (comint-redirect-finished-regexp
3808 "1__dummy_completion__[[:space:]]*\n") 3808 "1__dummy_completion__.*\n")
3809 (comint-redirect-output-buffer redirect-buffer)) 3809 (comint-redirect-output-buffer redirect-buffer))
3810 ;; Compatibility with Emacs 24.x. Comint changed and 3810 ;; Compatibility with Emacs 24.x. Comint changed and
3811 ;; now `comint-redirect-filter' gets 3 args. This 3811 ;; now `comint-redirect-filter' gets 3 args. This