Commit be0bba46 authored by Dmitry Gutov's avatar Dmitry Gutov

Unbreak completion in python-mode buffers

* lisp/progmodes/python.el (python-shell-completion-at-point):
Unbreak in python-mode buffers.
parent e823c340
......@@ -3569,7 +3569,9 @@ using that one instead of current buffer's process."
(forward-char (length (match-string-no-properties 0)))
(end (point))
(prompt-boundaries (python-util-comint-last-prompt))
(with-current-buffer (process-buffer process)
(with-current-buffer (process-buffer process)
(when prompt-boundaries
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment