]> git.eshelyaron.com Git - emacs.git/commit
python.el: Generate clearer shell buffer names.
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Fri, 26 Dec 2014 20:59:33 +0000 (17:59 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Fri, 26 Dec 2014 20:59:33 +0000 (17:59 -0300)
commit7284a174abc03c9ccf45aa43c939585beea351b7
tree21024e515aa72b5280618d3a6a29f8fd0598a5f5
parent8cf42182b8da79bb4a2f2f704fa0d627304f5165
python.el: Generate clearer shell buffer names.

* lisp/progmodes/python.el (python-shell-get-process-name)
(python-shell-internal-get-process-name): Use `buffer-name`.
(python-shell-internal-get-or-create-process): Simplify.

* test/automated/python-tests.el (python-shell-get-process-name-1)
(python-shell-internal-get-process-name-1): Cleanup.
(python-shell-get-process-name-2)
(python-shell-internal-get-process-name-2): New tests.
(python-shell-calculate-command-1)
(python-shell-calculate-process-environment-3)
(python-shell-calculate-exec-path-2, python-shell-make-comint-1)
(python-shell-make-comint-2, python-shell-make-comint-4)
(python-shell-get-process-1, python-util-clone-local-variables-1):
Replace obsolete function and variable references with current.
lisp/ChangeLog
lisp/progmodes/python.el
test/ChangeLog
test/automated/python-tests.el