]> git.eshelyaron.com Git - emacs.git/commit
python.el: Allow killing shell buffer if process is dead.
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Thu, 12 Feb 2015 03:41:07 +0000 (00:41 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Thu, 12 Feb 2015 03:41:07 +0000 (00:41 -0300)
commitda726ad0c6177a3442a374a135f40a24945d362c
tree9ea9a1ebe90d446b09427e7050bcd291aedb5b35
parent511acc77a4b0be3ed997c335f270b346a4ed0d5f
python.el: Allow killing shell buffer if process is dead.

Fixes: debbugs:19823
* lisp/progmodes/python.el (python-shell-font-lock-kill-buffer): Don't
require a running process.
(python-shell-font-lock-post-command-hook): Fontify only if the
shell process is running.
lisp/ChangeLog
lisp/progmodes/python.el