1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-23 22:20:24 -08:00

python.el: Do not deactivate mark on shell fontification.

Fixes: debbugs:19871

* lisp/progmodes/python.el (python-shell-font-lock-post-command-hook):
Do not deactivate mark on fontification.
This commit is contained in:
Fabián Ezequiel Gallina 2015-02-16 19:53:59 -03:00
parent 8b36bfafee
commit 16d91bce1d
2 changed files with 8 additions and 0 deletions

View file

@ -2360,6 +2360,7 @@ goes wrong and syntax highlighting in the shell gets messed up."
(process-live-p (get-buffer-process (current-buffer))))
(let* ((input (buffer-substring-no-properties
prompt-end (point-max)))
(deactivate-mark nil)
(start-pos prompt-end)
(buffer-undo-list t)
(font-lock-buffer-pos nil)