chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
15b95c2
)
emacs: Force py-shell to start ipython with the right colours.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 15 May 2008 10:42:57 +0000
(11:42 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 15 May 2008 10:42:57 +0000
(11:42 +0100)
It chooses LightBG by default, which is hopeless.
emacs
patch
|
blob
|
blame
|
history
diff --git
a/emacs
b/emacs
index 5e3d2e7987e48e02737e2304b9dd4be98b4b8a9f..50a5b7b2dd9905ecfdd34241add01d743fced75a 100644
(file)
--- 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)