aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/python.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 78b541d8a0e..af441460562 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -946,6 +946,10 @@ OUTPUT is a string with the contents of the buffer."
946 'python-pdbtrack-comint-output-filter-function) 946 'python-pdbtrack-comint-output-filter-function)
947 (set (make-local-variable 'compilation-error-regexp-alist) 947 (set (make-local-variable 'compilation-error-regexp-alist)
948 python-shell-compilation-regexp-alist) 948 python-shell-compilation-regexp-alist)
949 (define-key inferior-python-mode-map [remap complete-symbol]
950 'completion-at-point)
951 (add-hook 'completion-at-point-functions
952 'python-shell-completion-complete-at-point nil 'local)
949 (compilation-shell-minor-mode 1)) 953 (compilation-shell-minor-mode 1))
950 954
951(defun run-python (dedicated cmd) 955(defun run-python (dedicated cmd)