diff options
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 462445f3d71..8929616ef79 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -1375,7 +1375,7 @@ buffer for a list of commands.)" | |||
| 1375 | ;; seems worth putting in a separate file, and it's probably cleaner | 1375 | ;; seems worth putting in a separate file, and it's probably cleaner |
| 1376 | ;; to put it in a module. | 1376 | ;; to put it in a module. |
| 1377 | ;; Ensure we're at a prompt before doing anything else. | 1377 | ;; Ensure we're at a prompt before doing anything else. |
| 1378 | (python-send-receive "import emacs; print '_emacs_out ()'"))) | 1378 | (python-send-string "import emacs"))) |
| 1379 | (if (derived-mode-p 'python-mode) | 1379 | (if (derived-mode-p 'python-mode) |
| 1380 | (setq python-buffer (default-value 'python-buffer))) ; buffer-local | 1380 | (setq python-buffer (default-value 'python-buffer))) ; buffer-local |
| 1381 | ;; Without this, help output goes into the inferior python buffer if | 1381 | ;; Without this, help output goes into the inferior python buffer if |