From c9f7e33c60b95981367187d0419b50a8d4024ff4 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 20 Oct 2014 18:37:04 -0400 Subject: [PATCH] * lisp/progmodes/python.el (inferior-python-mode): Use add-hook. --- lisp/ChangeLog | 2 ++ lisp/progmodes/python.el | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6680722dd4f..9e1ffa7ba20 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2014-10-20 Stefan Monnier + * progmodes/python.el (inferior-python-mode): Use add-hook. + * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el. 2014-10-20 Glenn Morris 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. (define-key inferior-python-mode-map [remap complete-symbol] 'completion-at-point) (add-hook 'completion-at-point-functions - 'python-shell-completion-complete-at-point nil 'local) - (add-to-list (make-local-variable 'comint-dynamic-complete-functions) - 'python-shell-completion-complete-at-point) + #'python-shell-completion-complete-at-point nil 'local) + (add-hook 'comint-dynamic-complete-functions ;FIXME: really? + #'python-shell-completion-complete-at-point nil 'local) (define-key inferior-python-mode-map "\t" 'python-shell-completion-complete-or-indent) (make-local-variable 'python-pdbtrack-buffers-to-kill) -- 2.39.5