Commit cd16c5f1 authored by Fabián Ezequiel Gallina's avatar Fabián Ezequiel Gallina
Browse files

* progmodes/python.el (python-shell-completion-get-completions):

Drop use of deleted `comint-last-prompt-overlay'.
parent a892a94c
2013-09-02 Fabián Ezequiel Gallina <>
* progmodes/python.el (python-shell-completion-get-completions):
Drop use of deleted `comint-last-prompt-overlay'.
2013-09-01 Glenn Morris <>
* (setwins, setwins_almost, setwins_for_subdirs):
......@@ -2266,13 +2266,17 @@ and use the following as the value of this variable:
LINE is used to detect the context on how to complete given
(let* ((prompt
;; Get the last prompt for the inferior process
;; buffer. This is used for the completion code selection
;; heuristic.
;; Get last prompt of the inferior process buffer (this
;; intentionally avoids using `comint-last-prompt' because
;; of incompatibilities with Emacs 24.x).
(with-current-buffer (process-buffer process)
(overlay-start comint-last-prompt-overlay)
(overlay-end comint-last-prompt-overlay))))
(- (point) (length line))
(re-search-backward "^")
;; Check whether a prompt matches a pdb string, an import
;; statement or just the standard prompt and use the
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