diff options
author | Fabián Ezequiel Gallina <fgallina@gnu.org> | 2014-12-27 20:12:00 -0300 |
---|---|---|
committer | Fabián Ezequiel Gallina <fgallina@gnu.org> | 2014-12-27 20:12:00 -0300 |
commit | 7d1e62d51b51be27b11a67d7828b77f2df9e1eb1 (patch) | |
tree | 8404c3b50203c55b9cbffdbe0e0553311ff7df22 /lisp/emacs-lisp/authors.el | |
parent | 996ad1b846a0865245df008bdb551093278b3c30 (diff) | |
download | emacs-7d1e62d51b51be27b11a67d7828b77f2df9e1eb1.tar.gz emacs-7d1e62d51b51be27b11a67d7828b77f2df9e1eb1.tar.bz2 emacs-7d1e62d51b51be27b11a67d7828b77f2df9e1eb1.zip |
python.el: Enhance shell user interaction and deprecate python-shell-get-or-create-process.
* lisp/progmodes/python.el
(python-shell-get-process-or-error): New function.
(python-shell-with-shell-buffer): Use it.
(python-shell-send-string, python-shell-send-region)
(python-shell-send-buffer, python-shell-send-defun)
(python-shell-send-file, python-shell-switch-to-shell): Use it.
Add argument MSG to display user-friendly message when no process
is running.
(python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
(python-shell-make-comint): Rename argument SHOW from POP. Use
display-buffer instead of pop-to-buffer.
(run-python): Doc fix. Return process.
(python-shell-get-or-create-process): Make obsolete.
* test/automated/python-tests.el (python-shell-get-or-create-process-1)
(python-shell-get-or-create-process-2)
(python-shell-get-or-create-process-3): Remove tests.
Diffstat (limited to 'lisp/emacs-lisp/authors.el')
0 files changed, 0 insertions, 0 deletions