[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 16d91bc: python.el: Do not deactivate mark on shell
From: |
Fabián Ezequiel Gallina |
Subject: |
[Emacs-diffs] master 16d91bc: python.el: Do not deactivate mark on shell fontification. |
Date: |
Mon, 16 Feb 2015 22:54:10 +0000 |
branch: master
commit 16d91bce1d054c45ccd60efd5bd3ff88c12e39bb
Author: Fabián Ezequiel Gallina <address@hidden>
Commit: Fabián Ezequiel Gallina <address@hidden>
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.
---
lisp/ChangeLog | 7 +++++++
lisp/progmodes/python.el | 1 +
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 71ecb40..43cffff 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
+2015-02-16 Fabián Ezequiel Gallina <address@hidden>
+
+ 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 <address@hidden>
* net/eww.el: Fix desktop support. (Bug#19226)
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 2026609..4420faf 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 16d91bc: python.el: Do not deactivate mark on shell fontification.,
Fabián Ezequiel Gallina <=