aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorStefan Monnier2014-10-20 18:37:04 -0400
committerStefan Monnier2014-10-20 18:37:04 -0400
commitc9f7e33c60b95981367187d0419b50a8d4024ff4 (patch)
treec6dc2bbc5077fa5a08f42ac10acffba0cfe66f01 /lisp/progmodes/python.el
parent3b1f2e09998262fb103c9d2dee3383746977d1d1 (diff)
downloademacs-c9f7e33c60b95981367187d0419b50a8d4024ff4.tar.gz
emacs-c9f7e33c60b95981367187d0419b50a8d4024ff4.zip
* lisp/progmodes/python.el (inferior-python-mode): Use add-hook.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index a564acc3075..c828de10304 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2165,9 +2165,9 @@ variable.
2165 (define-key inferior-python-mode-map [remap complete-symbol] 2165 (define-key inferior-python-mode-map [remap complete-symbol]
2166 'completion-at-point) 2166 'completion-at-point)
2167 (add-hook 'completion-at-point-functions 2167 (add-hook 'completion-at-point-functions
2168 'python-shell-completion-complete-at-point nil 'local) 2168 #'python-shell-completion-complete-at-point nil 'local)
2169 (add-to-list (make-local-variable 'comint-dynamic-complete-functions) 2169 (add-hook 'comint-dynamic-complete-functions ;FIXME: really?
2170 'python-shell-completion-complete-at-point) 2170 #'python-shell-completion-complete-at-point nil 'local)
2171 (define-key inferior-python-mode-map "\t" 2171 (define-key inferior-python-mode-map "\t"
2172 'python-shell-completion-complete-or-indent) 2172 'python-shell-completion-complete-or-indent)
2173 (make-local-variable 'python-pdbtrack-buffers-to-kill) 2173 (make-local-variable 'python-pdbtrack-buffers-to-kill)