From 8bc691084c1e9cb42428544413297cb14e9a351a Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 16 Jul 2024 10:33:58 +0100 Subject: [PATCH] Set python shell to be dedicated to project by default (if found) --- init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/init.el b/init.el index 66a9100..cff2668 100644 --- a/init.el +++ b/init.el @@ -1080,6 +1080,7 @@ Calls `project-remember-projects-under' for ~/Projects/" :hook ((python-base-mode . (lambda () (my/enable-fill-column 88)))) :custom (python-shell-interpreter "python3") + (python-shell-dedicated 'project) (python-indent-def-block-scale 1) (python-check-command "mypy --check-untyped-defs --warn-unreachable --show-error-codes --ignore-missing-imports") (python-flymake-command