aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorkobarity2026-01-11 17:49:29 +0900
committerEli Zaretskii2026-01-17 15:05:33 +0200
commitc97b8e6650fa28f44e36e200f966046ffe99fe0f (patch)
treeb2979240a3ffba0c741a9590cc65d04c83655d22 /java
parent6e37af1fe89316fa921539340fcce9af94e9e69d (diff)
downloademacs-c97b8e6650fa28f44e36e200f966046ffe99fe0f.tar.gz
emacs-c97b8e6650fa28f44e36e200f966046ffe99fe0f.zip
Improve non-native completion in Python mode
Previously, both the definition of __PYTHON_EL_get_completions and the call to __PYTHON_EL_get_completions were sent to the inferior Python each time 'python-shell-completion-get-completions' was executed. However, there is no need to send the definition every time as long as the definition remains unchanged. We improved this so that the definition of __PYTHON_EL_get_completions is only sent during the inferior Python initialization; it is no longer sent during 'python-shell-completion-get-completions' execution. * lisp/progmodes/python.el (python-shell-completion-send-setup-code): New function. (python-shell-first-prompt-hook): Add the above new function. (python-shell-completion-get-completions): Omit sending 'python-shell-completion-setup-code'. (Bug#80182)
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions