diff options
author | Fabián Ezequiel Gallina <fgallina@gnu.org> | 2015-08-22 20:42:04 -0300 |
---|---|---|
committer | Fabián Ezequiel Gallina <fgallina@gnu.org> | 2015-08-22 20:42:04 -0300 |
commit | 24ae05251587fbba4687544ec57565c8bc48071a (patch) | |
tree | 17d37e47080f0dcc1a7b84971c7025c6751fc2f8 /lisp/emacs-lisp | |
parent | 0a3ed5f70c6025fbc2a7e3ca53f11770e4fabe61 (diff) | |
download | emacs-24ae05251587fbba4687544ec57565c8bc48071a.tar.gz emacs-24ae05251587fbba4687544ec57565c8bc48071a.tar.bz2 emacs-24ae05251587fbba4687544ec57565c8bc48071a.zip |
python.el: fallback completion, ffap and eldoc setup enhancements
Setup codes are now sent continuously so that the current frame is
always taken into account. This allows working within debuggers
and always keeping a fresh version of setup codes that will return
proper results.
* lisp/progmodes/python.el (python-shell-setup-codes): Cleanup.
(python-shell-send-setup-code): Send code only when
python-shell-setup-codes is non-nil.
(python-shell-completion-string-code): Cleanup trailing newline.
(python-shell-completion-get-completions): Always use
python-shell-completion-setup-code.
(python-ffap-setup-code): Work with any object, not only modules.
(python-ffap-string-code): Cleanup trailing newline.
(python-ffap-module-path): Always use python-ffap-setup-code.
(python-eldoc-string-code): Cleanup trailing newline.
(python-eldoc--get-doc-at-point): Always use
python-eldoc-setup-code. Return non-nil only if docstring is
found.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions