From 56a373e83b3d53e9aab6b391ced2e9d991ac12b5 Mon Sep 17 00:00:00 2001 From: moneylobster <87999452+moneylobster@users.noreply.github.com> Date: Thu, 20 Mar 2025 19:38:07 +0300 Subject: [PATCH] Quote filename when calling jupyter-load-file Not quoting filenames causes the path to be misinterpreted if it contains spaces. --- jupyter-python.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyter-python.el b/jupyter-python.el index 8841642a..e96082c6 100644 --- a/jupyter-python.el +++ b/jupyter-python.el @@ -73,7 +73,7 @@ buffer." (t nil))))) (cl-defmethod jupyter-load-file-code (file &context (jupyter-lang python)) - (concat "%run " file)) + (concat "%run \"" file "\"")) ;;; `jupyter-org'