From 9750001aae8d42ba4cdacf25b9d536aa4061b1f9 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 19 Feb 2016 00:08:14 -0500 Subject: [PATCH] Use ipython as python-shell-interpreter if available --- .emacs.d/init.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 9064665..d5d288b 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -72,6 +72,12 @@ verilog-auto-newline 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) (use-package company :quelpa :config