Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c9f7e33c
Commit
c9f7e33c
authored
Oct 20, 2014
by
Stefan Monnier
Browse files
* lisp/progmodes/python.el (inferior-python-mode): Use add-hook.
parent
3b1f2e09
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
lisp/ChangeLog
lisp/ChangeLog
+2
-0
lisp/progmodes/python.el
lisp/progmodes/python.el
+3
-3
No files found.
lisp/ChangeLog
View file @
c9f7e33c
2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/python.el (inferior-python-mode): Use add-hook.
* Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
2014-10-20 Glenn Morris <rgm@gnu.org>
...
...
lisp/progmodes/python.el
View file @
c9f7e33c
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment