aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/obsolete/info-edit.el
diff options
context:
space:
mode:
authorkobarity2026-01-04 22:50:47 +0900
committerEli Zaretskii2026-01-17 18:09:03 +0200
commit83b4f1ba26844c178e57ecb93ea8db36e8e6fa89 (patch)
tree60328bf46206261c03c4d06524abf34a61fa5d05 /lisp/obsolete/info-edit.el
parent83f4e48106a44f1f152bb0ca83b1754fd65ec651 (diff)
downloademacs-master.tar.gz
emacs-master.zip
Performance improvement of 'python-shell-get-process'HEADmaster
'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 'lisp/obsolete/info-edit.el')
0 files changed, 0 insertions, 0 deletions