mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
Cleanup CAPF when jupyter-repl-interaction-mode
is disabled
This commit is contained in:
parent
cccc680a6c
commit
9cd52d25c3
1 changed files with 1 additions and 0 deletions
|
@ -2420,6 +2420,7 @@ the `current-buffer' will automatically have
|
|||
:keymap jupyter-repl-interaction-map
|
||||
(if jupyter-repl-interaction-mode
|
||||
(add-hook 'completion-at-point-functions 'jupyter-completion-at-point nil t)
|
||||
(remove-hook 'completion-at-point-functions 'jupyter-completion-at-point t)
|
||||
(unless (eq major-mode 'jupyter-repl-mode)
|
||||
(kill-local-variable 'jupyter-current-client))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue