Set python-interpreter

This commit is contained in:
Marcus Kammer 2024-09-27 21:03:47 +02:00
parent 271c00e4b8
commit 71b32782e3
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -597,6 +597,10 @@
("\\.j2" . python-mode))
:hook (python-mode . abbrev-mode)
:init
(setq python-interpreter
(cond ((executable-find "python3") "python3")
((executable-find "python") "python")
(t "python3")))
(setq python-indent-guess-indent-offset nil)
(setq python-indent-offset 4)
(setq python-shell-interpreter "ipython")