From 49bfab68734831b3ca1e0f68a24fa1eb55fddf40 2007-04-26 15:50:55 From: jdh2358 Date: 2007-04-26 15:50:55 Subject: [PATCH] Fix color scheme error in ipython.el. Closes #149 --- diff --git a/doc/ChangeLog b/doc/ChangeLog index a481ed9..4b220e7 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,5 +1,8 @@ 2007-04-26 Fernando Perez + * ipython.el: fix incorrect color scheme, reported by Stefan. + Closes #149. + * IPython/PyColorize.py (Parser.format2): fix state-handling logic. I still don't like how that code handles state, but at least now it should be correct, if inelegant. Closes #146. diff --git a/doc/ipython.el b/doc/ipython.el index f7edaee..41a2404 100644 --- a/doc/ipython.el +++ b/doc/ipython.el @@ -6,7 +6,7 @@ ;; URL: http://ipython.scipy.org ;; Compatibility: Emacs21, XEmacs21 ;; FIXME: #$@! INPUT RING -(defconst ipython-version "$Revision: 2232 $" +(defconst ipython-version "$Revision: 2275 $" "VC version number.") ;;; Commentary @@ -215,7 +215,7 @@ the second for a 'normal' command, and the third for a multiline command.") (list "-colors" (cond ((eq frame-background-mode 'dark) - "DarkBG") + "Linux") ((eq frame-background-mode 'light) "LightBG") (t ; default (backg-mode isn't always set by XEmacs)