Unbreak completion in python-mode buffers
* lisp/progmodes/python.el (python-shell-completion-at-point): Unbreak in python-mode buffers.
This commit is contained in:
parent
e823c34072
commit
be0bba46a0
1 changed files with 3 additions and 1 deletions
|
@ -3569,7 +3569,9 @@ using that one instead of current buffer's process."
|
||||||
(forward-char (length (match-string-no-properties 0)))
|
(forward-char (length (match-string-no-properties 0)))
|
||||||
(point))))
|
(point))))
|
||||||
(end (point))
|
(end (point))
|
||||||
(prompt-boundaries (python-util-comint-last-prompt))
|
(prompt-boundaries
|
||||||
|
(with-current-buffer (process-buffer process)
|
||||||
|
(python-util-comint-last-prompt)))
|
||||||
(prompt
|
(prompt
|
||||||
(with-current-buffer (process-buffer process)
|
(with-current-buffer (process-buffer process)
|
||||||
(when prompt-boundaries
|
(when prompt-boundaries
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue