diff options
| author | Carlos Pita | 2020-08-19 13:13:46 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2020-08-19 13:13:46 +0200 |
| commit | c570a79a77add5482826b42912d3fe95edc9b146 (patch) | |
| tree | 1ebbb06d4ca4470c2f6fe56523cb9104f3ba1c4c /lisp/progmodes/python.el | |
| parent | 9e586ac1d1b3bbabbd73a119698df742c0bfa523 (diff) | |
| download | emacs-c570a79a77add5482826b42912d3fe95edc9b146.tar.gz emacs-c570a79a77add5482826b42912d3fe95edc9b146.zip | |
Don't override python font locking in comint
* lisp/comint.el (comint-highlight-input): New variable (bug#32344).
(comint-send-input): Use it.
* lisp/progmodes/python.el (inferior-python-mode): Set it.
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index f8c18021ffa..d83af83b32e 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2791,6 +2791,7 @@ variable. | |||
| 2791 | python-shell-comint-watch-for-first-prompt-output-filter | 2791 | python-shell-comint-watch-for-first-prompt-output-filter |
| 2792 | python-comint-postoutput-scroll-to-bottom | 2792 | python-comint-postoutput-scroll-to-bottom |
| 2793 | comint-watch-for-password-prompt)) | 2793 | comint-watch-for-password-prompt)) |
| 2794 | (setq-local comint-highlight-input nil) | ||
| 2794 | (set (make-local-variable 'compilation-error-regexp-alist) | 2795 | (set (make-local-variable 'compilation-error-regexp-alist) |
| 2795 | python-shell-compilation-regexp-alist) | 2796 | python-shell-compilation-regexp-alist) |
| 2796 | (add-hook 'completion-at-point-functions | 2797 | (add-hook 'completion-at-point-functions |