diff options
| author | Augusto Stoffel | 2021-09-11 14:50:28 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-09-11 14:58:12 +0200 |
| commit | e4300777e8cc7559ea29faaeab6cafd3f7ebf3b7 (patch) | |
| tree | 31cac363dab51ce2aba8316433c529c1112dc30f /src | |
| parent | e40f5a91eed69b5d6131671ba1699ce3ccb92f16 (diff) | |
| download | emacs-e4300777e8cc7559ea29faaeab6cafd3f7ebf3b7.tar.gz emacs-e4300777e8cc7559ea29faaeab6cafd3f7ebf3b7.zip | |
Implement caching for 'python-shell-completion-at-point'
* lisp/progmodes/python.el (python-shell-completion-at-point): cache
results, since computing them involves talking with the inferior
process and, potentially, network communications
(python-shell--capf-cache): new variable, for cache
(python-shell-completion-get-completions)
(python-shell-completion-native-get-completions): 'import' argument is
not needed anymore.
(python-shell-completion-native-setup)
(python-shell-completion-native-try): pass the setup code
synchronously, to avoid printing a message in the shell (bug#50459).
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions