From: Stefan Monnier Date: Mon, 20 Oct 2014 22:37:04 +0000 (-0400) Subject: * lisp/progmodes/python.el (inferior-python-mode): Use add-hook. X-Git-Tag: emacs-24.4.90~331 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c9f7e33c60b95981367187d0419b50a8d4024ff4;p=emacs.git * lisp/progmodes/python.el (inferior-python-mode): Use add-hook. --- 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)