diff options
author | Barry Warsaw <barry@python.org> | 2002-04-25 16:26:38 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2002-04-25 16:26:38 (GMT) |
commit | 13caba30b80bdd13e3c702ede6fa4df1d2b1d988 (patch) | |
tree | f028e241d3ea125bb351d0180742ff2b953332d8 /Misc/python-mode.el | |
parent | 56bd2edeef660d1575fbfd04e5913034993dd1cd (diff) | |
download | cpython-13caba30b80bdd13e3c702ede6fa4df1d2b1d988.zip cpython-13caba30b80bdd13e3c702ede6fa4df1d2b1d988.tar.gz cpython-13caba30b80bdd13e3c702ede6fa4df1d2b1d988.tar.bz2 |
(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!
Diffstat (limited to 'Misc/python-mode.el')
-rw-r--r-- | Misc/python-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 4cfcc89..f8b05f5 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -1123,6 +1123,7 @@ comint believe the user typed this string so that "Watch output for Python prompt and exec next file waiting in queue. 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) (string-equal (substring string -5) "\n>>> "))) |