]> git.eshelyaron.com Git - emacs.git/commitdiff
python.el: Do not deactivate mark on shell fontification.
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Mon, 16 Feb 2015 22:53:59 +0000 (19:53 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Mon, 16 Feb 2015 22:53:59 +0000 (19:53 -0300)
Fixes: debbugs:19871
* lisp/progmodes/python.el (python-shell-font-lock-post-command-hook):
Do not deactivate mark on fontification.

lisp/ChangeLog
lisp/progmodes/python.el

index 71ecb407d3259f962b2be0f77ea96c63b1aa0de7..43cffffcb36ac877ece26a0e06d55f8b231bb651 100644 (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)
index 20266097fed8302ddfb8f0938980cfdcd27f35a0..4420faf3dfcdc8b822301c92b7f3d6bfb9215989 100644 (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)