[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/python.el,v
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/python.el,v |
Date: |
Sat, 26 Aug 2006 14:39:18 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Stefan Monnier <monnier> 06/08/26 14:39:17
Index: progmodes/python.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/python.el,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -b -r1.42 -r1.43
--- progmodes/python.el 25 Aug 2006 22:49:14 -0000 1.42
+++ progmodes/python.el 26 Aug 2006 14:39:16 -0000 1.43
@@ -1576,14 +1576,15 @@
(defun python-send-receive (string)
"Send STRING to inferior Python (if any) and return result.
The result is what follows `_emacs_out' in the output."
- (let ((proc (python-proc)))
(python-send-string string)
+ (let ((proc (python-proc)))
+ (with-current-buffer (process-buffer proc)
(set (make-local-variable 'python-preoutput-result) nil)
(while (progn
(accept-process-output proc 5)
(null python-preoutput-result)))
(prog1 python-preoutput-result
- (kill-local-variable 'python-preoutput-result))))
+ (kill-local-variable 'python-preoutput-result)))))
;; Fixme: Is there anything reasonable we can do with random methods?
;; (Currently only works with functions.)
- [Emacs-diffs] Changes to emacs/lisp/progmodes/python.el,v, Stefan Monnier, 2006/08/20
- [Emacs-diffs] Changes to emacs/lisp/progmodes/python.el,v, Stefan Monnier, 2006/08/20
- [Emacs-diffs] Changes to emacs/lisp/progmodes/python.el,v, Stefan Monnier, 2006/08/25
- [Emacs-diffs] Changes to emacs/lisp/progmodes/python.el,v,
Stefan Monnier <=
- [Emacs-diffs] Changes to emacs/lisp/progmodes/python.el,v, Stefan Monnier, 2006/08/28
- [Emacs-diffs] Changes to emacs/lisp/progmodes/python.el,v, Stefan Monnier, 2006/08/28
- [Emacs-diffs] Changes to emacs/lisp/progmodes/python.el,v, Stefan Monnier, 2006/08/30