Skip to content

Commit

Permalink
(emacs-home* "private/scratch/")
Browse files Browse the repository at this point in the history
  • Loading branch information
junjiemars committed Jun 1, 2024
1 parent 0e7177c commit 669319b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/pythons.el
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

(unless-platform% 'windows-nt
(defalias 'python*-venv!
(lexical-let% ((b (emacs-home* "private/progs/py/ve/")))
(lexical-let% ((b (emacs-home* "private/scratch/venv/")))
(lambda (&optional dir)
(let ((pv (python*-program)))
(unless pv
Expand Down Expand Up @@ -177,6 +177,8 @@ After Python3.3+, we can use \\=`python -m venv DIR\\=' to create
(when (python*-program)
(setq% python-shell-interpreter (python*-program :bin) 'python)
(unless-platform% 'windows-nt
;; make `emacs-home*'/private/scratch/
(path! `,(emacs-home* "private/scratch/"))
(python*-venv!)
(unless (python*-lsp-make!)
(python*-lsp-make! :new))))
Expand Down

0 comments on commit 669319b

Please sign in to comment.