diff options
author | Glenn Morris <[email protected]> | 2007-09-24 00:12:25 +0000 |
---|---|---|
committer | Glenn Morris <[email protected]> | 2007-09-24 00:12:25 +0000 |
commit | f4ff3e5cc0e873be609cf6172386c56587a83f31 (patch) | |
tree | 5c2e2dc493e2bef967132622d5abe401cfa1069b /lisp/progmodes/python.el | |
parent | 3ae2e3a37fae680f44f23170cc06d160d694b831 (diff) |
Adam Hupp <adam at hupp.org>
(run-python): Import emacs module without waiting; prevents lockup on
error.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 462445f3d7..8929616ef7 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -1375,7 +1375,7 @@ buffer for a list of commands.)" ;; seems worth putting in a separate file, and it's probably cleaner ;; to put it in a module. ;; Ensure we're at a prompt before doing anything else. - (python-send-receive "import emacs; print '_emacs_out ()'"))) + (python-send-string "import emacs"))) (if (derived-mode-p 'python-mode) (setq python-buffer (default-value 'python-buffer))) ; buffer-local ;; Without this, help output goes into the inferior python buffer if |