mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Disable completion when PDB is active in Python Shell buffer
* lisp/progmodes/python.el (python-shell-completion-at-point): Disable completion in Python buffer when PDB is active in Python Shell buffer. * test/lisp/progmodes/python-tests.el (python-shell-completion-pdb-1): New test (bug#58562).
This commit is contained in:
parent
07222447b6
commit
45aabe6eda
2 changed files with 21 additions and 1 deletions
|
|
@ -4102,7 +4102,10 @@ using that one instead of current buffer's process."
|
|||
(with-current-buffer (process-buffer process)
|
||||
(cond ((or (null prompt)
|
||||
(and is-shell-buffer
|
||||
(< (point) (cdr prompt-boundaries))))
|
||||
(< (point) (cdr prompt-boundaries)))
|
||||
(and (not is-shell-buffer)
|
||||
(string-match-p
|
||||
python-shell-prompt-pdb-regexp prompt)))
|
||||
#'ignore)
|
||||
((or (not python-shell-completion-native-enable)
|
||||
;; Even if native completion is enabled, for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue