diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/km-python.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/km-python.el b/init/km-python.el index ade857d..57f6ff4 100644 --- a/init/km-python.el +++ b/init/km-python.el @@ -21,7 +21,7 @@ Unless a prefix argument ARG is given, py.test is also imported." (test-file (concat "test_" py-file))) (when (file-exists-p test-file) (error "Test file %s already exists." test-file)) - (with-current-buffer (find-file test-file) + (with-current-buffer (find-file-other-window test-file) (insert (format "import %s\n" (file-name-sans-extension py-file))) (unless arg (insert "import pytest\n"))))) |