##// END OF EJS Templates
- Apply Stefan's patch to fix garbled results if the python shell hasn't...
fptest -
Show More
@@ -1,5 +1,8 b''
1 1 2006-10-28 Fernando Perez <Fernando.Perez@colorado.edu>
2 2
3 * ipython.el (py-execute-region): apply Stefan's patch to fix
4 garbled results if the python shell hasn't been previously started.
5
3 6 * IPython/genutils.py (arg_split): moved to genutils, since it's a
4 7 pretty generic function and useful for other things.
5 8
@@ -6,7 +6,7 b''
6 6 ;; URL: http://ipython.scipy.org
7 7 ;; Compatibility: Emacs21, XEmacs21
8 8 ;; FIXME: #$@! INPUT RING
9 (defconst ipython-version "$Revision: 1823 $"
9 (defconst ipython-version "$Revision: 1851 $"
10 10 "VC version number.")
11 11
12 12 ;;; Commentary
@@ -250,9 +250,9 b' buffer already exists."'
250 250 (defadvice py-execute-region (around py-execute-buffer-ensure-process)
251 251 "HACK: if `py-shell' is not active or ASYNC is explicitly desired, fall back
252 252 to python instead of ipython."
253 (let ((py-python-command (if (and (comint-check-proc "*Python*") (not async))
254 py-python-command
255 ipython-backup-of-py-python-command)))
253 (let ((py-which-shell (if (and (comint-check-proc "*Python*") (not async))
254 py-python-command
255 ipython-backup-of-py-python-command)))
256 256 ad-do-it))
257 257 (ad-activate 'py-execute-region)
258 258
General Comments 0
You need to be logged in to leave comments. Login now