diff options
| author | kobarity | 2026-01-04 22:50:47 +0900 |
|---|---|---|
| committer | Eli Zaretskii | 2026-01-17 18:09:03 +0200 |
| commit | 83b4f1ba26844c178e57ecb93ea8db36e8e6fa89 (patch) | |
| tree | 60328bf46206261c03c4d06524abf34a61fa5d05 /test/lisp/progmodes/cperl-mode-resources | |
| parent | 83f4e48106a44f1f152bb0ca83b1754fd65ec651 (diff) | |
| download | emacs-master.tar.gz emacs-master.zip | |
'python-shell-get-process' is frequently called from
'python-eldoc--get-doc-at-point' and etc., invoking
'project-current' unless there is a buffer-specific Inferior
Python process. When the buffer is a remote buffer not
belonging to any project and has significant latency,
'project-current' may take a long time. To avoid this,
implement a process cache in 'python-shell-get-process'.
* lisp/progmodes/python.el (python-shell--process-cache)
(python-shell--process-cache-valid): New variables.
(python-shell--invalidate-process-cache): New function.
(python-shell-make-comint): Add a call to the above function.
(python-shell-get-process): Add process cache. (Bug#80045)
Diffstat (limited to 'test/lisp/progmodes/cperl-mode-resources')
0 files changed, 0 insertions, 0 deletions