mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
Kill the buffer local value of jupyter-repl-current-client
when disabling juptyer-repl-interaction-mode
This commit is contained in:
parent
436b904572
commit
2542f819fb
1 changed files with 2 additions and 0 deletions
|
@ -1761,6 +1761,8 @@ that of CLIENT."
|
|||
company-backends)
|
||||
(setq-local company-backends
|
||||
(cons 'company-jupyter-repl company-backends))))
|
||||
(unless (eq major-mode 'jupyter-repl-mode)
|
||||
(kill-local-variable 'jupyter-repl-current-client))
|
||||
(when (boundp 'company-mode)
|
||||
(setq-local company-backends
|
||||
(delq 'company-jupyter-repl company-backends)))))
|
||||
|
|
Loading…
Add table
Reference in a new issue