mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-18 19:07:34 +00:00
Make shell use completion-at-point for autocompletion.
This commit is contained in:
parent
fc87f759ed
commit
ed0eb59464
1 changed files with 4 additions and 0 deletions
|
|
@ -946,6 +946,10 @@ OUTPUT is a string with the contents of the buffer."
|
|||
'python-pdbtrack-comint-output-filter-function)
|
||||
(set (make-local-variable 'compilation-error-regexp-alist)
|
||||
python-shell-compilation-regexp-alist)
|
||||
(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)
|
||||
(compilation-shell-minor-mode 1))
|
||||
|
||||
(defun run-python (dedicated cmd)
|
||||
|
|
|
|||
Loading…
Reference in a new issue