[Python-checkins] python/dist/src/Misc python-mode.el,4.14,4.15

bwarsaw@sourceforge.net bwarsaw@sourceforge.net
Thu, 25 Apr 2002 09:26:40 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv25251

Modified Files:
	python-mode.el 
Log Message:
(py-comint-output-filter-function): Add a pop-to-buffer call so you
always get to see the result of e.g. a py-execute-region.  Funny, this
bugged both me /and/ Guido!


Index: python-mode.el
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/python-mode.el,v
retrieving revision 4.14
retrieving revision 4.15
diff -C2 -d -r4.14 -r4.15
*** python-mode.el	25 Apr 2002 15:44:17 -0000	4.14
--- python-mode.el	25 Apr 2002 16:26:38 -0000	4.15
***************
*** 1124,1127 ****
--- 1124,1128 ----
  This function is appropriate for `comint-output-filter-functions'."
    ;; TBD: this should probably use split-string
+   (pop-to-buffer (current-buffer))
    (when (and (or (string-equal string ">>> ")
  		 (and (>= (length string) 5)