emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r117606: * lisp/progmodes/python.el (inferior-pyt


From: Stefan Monnier
Subject: [Emacs-diffs] emacs-24 r117606: * lisp/progmodes/python.el (inferior-python-mode): Use add-hook.
Date: Mon, 20 Oct 2014 22:37:09 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117606
revision-id: address@hidden
parent: address@hidden
committer: Stefan Monnier <address@hidden>
branch nick: emacs-24
timestamp: Mon 2014-10-20 18:37:04 -0400
message:
  * lisp/progmodes/python.el (inferior-python-mode): Use add-hook.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/progmodes/python.el       python.el-20091113204419-o5vbwnq5f7feedwu-3008
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-10-20 22:21:56 +0000
+++ b/lisp/ChangeLog    2014-10-20 22:37:04 +0000
@@ -1,5 +1,7 @@
 2014-10-20  Stefan Monnier  <address@hidden>
 
+       * progmodes/python.el (inferior-python-mode): Use add-hook.
+
        * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
 
 2014-10-20  Glenn Morris  <address@hidden>

=== modified file 'lisp/progmodes/python.el'
--- a/lisp/progmodes/python.el  2014-10-12 15:12:04 +0000
+++ b/lisp/progmodes/python.el  2014-10-20 22:37:04 +0000
@@ -2165,9 +2165,9 @@
   (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)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]