diff options
author | Augusto Stoffel <arstoffel@gmail.com> | 2021-09-11 14:50:28 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-09-11 14:58:12 +0200 |
commit | e4300777e8cc7559ea29faaeab6cafd3f7ebf3b7 (patch) | |
tree | 31cac363dab51ce2aba8316433c529c1112dc30f /lisp/emacs-lisp/lisp.el | |
parent | e40f5a91eed69b5d6131671ba1699ce3ccb92f16 (diff) | |
download | emacs-e4300777e8cc7559ea29faaeab6cafd3f7ebf3b7.tar.gz emacs-e4300777e8cc7559ea29faaeab6cafd3f7ebf3b7.tar.bz2 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 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions