diff options
| author | Ravi R Kiran <aine.marina@gmail.com> | 2014-01-01 01:27:11 (GMT) |
|---|---|---|
| committer | Ravikiran Rajagopal <aine.marina@gmail.com> | 2014-01-01 01:27:11 (GMT) |
| commit | 4b49f1eb2eb1e7a7d273a7d4cd4792d538bc2254 (patch) | |
| tree | 37fe6f61936a28c54b2582b931ac8f0a763bfb79 | |
| parent | 25525d1af37ba039496bd34305b2e1a0ddcd4c05 (diff) | |
| download | dotemacs-4b49f1eb2eb1e7a7d273a7d4cd4792d538bc2254.zip dotemacs-4b49f1eb2eb1e7a7d273a7d4cd4792d538bc2254.tar.gz dotemacs-4b49f1eb2eb1e7a7d273a7d4cd4792d538bc2254.tar.bz2 | |
Make python interpreter plot and prevent interference with tab completion
| -rw-r--r-- | ravi-init-python.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ravi-init-python.el b/ravi-init-python.el index e9d125c..2077266 100644 --- a/ravi-init-python.el +++ b/ravi-init-python.el @@ -33,7 +33,7 @@ (defun ravi/python-mode-hook() ;; Set ipython as our interpreter (setq python-shell-interpreter "ipython" - python-shell-interpreter-args "" + python-shell-interpreter-args "--pylab" python-shell-prompt-regexp "In \\[[0-9]+\\]: " python-shell-prompt-output-regexp "Out\\[[0-9]+\\]: " python-shell-completion-setup-code @@ -55,6 +55,8 @@ (setq python-indent-offset 4) ) + (add-to-list 'smart-tab-disabled-major-modes 'inferior-python-mode) + (use-package virtualenvwrapper :config (progn |
