From 09089eb9d73913307cf455ea7cbf05cae6259069 Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Wed, 4 Jun 2025 22:47:14 +0300 Subject: [PATCH] Handle projectless Python files gracefully --- .config/emacs/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 0068a42..84749fb 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -221,7 +221,7 @@ "Set up the Python IDE in the current project." (interactive) (progn - (poetry-venv-workon) + (ignore-errors (poetry-venv-workon)) (eglot-ensure))) (use-package python