Use ipython as python-shell-interpreter if available

This commit is contained in:
Adam Goldsmith 2016-02-19 00:08:14 -05:00
parent 3b65176368
commit 9750001aae

View File

@ -72,6 +72,12 @@
verilog-auto-newline nil) verilog-auto-newline nil)
(add-hook 'verilog-mode-hook (lambda () (setq indent-tabs-mode nil)))) (add-hook 'verilog-mode-hook (lambda () (setq indent-tabs-mode nil))))
(use-package python
:defer
:config
(if (executable-find "ipython")
(setq python-shell-interpreter "ipython")))
;;;; external packages (required) ;;;; external packages (required)
(use-package company :quelpa (use-package company :quelpa
:config :config