1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -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

@ -1,3 +1,10 @@
2015-02-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
python.el: Do not deactivate mark on shell fontification. (Bug#19871)
* progmodes/python.el (python-shell-font-lock-post-command-hook):
Do not deactivate mark on fontification.
2015-02-16 Ivan Shmakov <ivan@siamics.net>
* net/eww.el: Fix desktop support. (Bug#19226)

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)