From: Mark Wooding Date: Thu, 15 May 2008 10:42:57 +0000 (+0100) Subject: emacs: Force py-shell to start ipython with the right colours. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/0b4dfa582cc81c9d817875e97a617178e6689e41?ds=sidebyside;hp=-c emacs: Force py-shell to start ipython with the right colours. It chooses LightBG by default, which is hopeless. --- 0b4dfa582cc81c9d817875e97a617178e6689e41 diff --git a/emacs b/emacs index 5e3d2e7..50a5b7b 100644 --- a/emacs +++ b/emacs @@ -489,6 +489,9 @@ (setq-default py-indent-offset 2) (add-hook 'python-mode-hook 'mdw-fontify-python t) +(setq py-python-command-args `("-i" "-colors" ,(if mdw-black-background + "Linux" + "LightBG"))) (setq-default tcl-indent-level 2) (add-hook 'tcl-mode-hook 'mdw-fontify-tcl t)