python.el: Fix completion-at-point.
commitdcec731abfc110f719f0890fd0769e099393af7d
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Sun, 8 Feb 2015 04:31:12 +0000 (8 01:31 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Sun, 8 Feb 2015 04:31:12 +0000 (8 01:31 -0300)
tree9a602364cc6c57617b079487ee260e666f266ba7
parent67dfbd60573f6df8f0b096e5e2ec7f54fdff94bf
python.el: Fix completion-at-point.

Fixes: debbugs:19667

* lisp/progmodes/python.el
(python-shell-completion-native-get-completions): Force process
buffer.
(python-shell-completion-at-point): Handle case where call is not
in a shell buffer.
lisp/ChangeLog
lisp/progmodes/python.el