aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorFabián Ezequiel Gallina2015-02-16 19:53:59 -0300
committerFabián Ezequiel Gallina2015-02-16 19:53:59 -0300
commit16d91bce1d054c45ccd60efd5bd3ff88c12e39bb (patch)
treefc7bea64e8876d1f9b4f7513d18c01a14e8b9107 /lisp/progmodes/python.el
parent8b36bfafeecf5f0578c64129be1d2017483b00f7 (diff)
downloademacs-16d91bce1d054c45ccd60efd5bd3ff88c12e39bb.tar.gz
emacs-16d91bce1d054c45ccd60efd5bd3ff88c12e39bb.zip
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.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 20266097fed..4420faf3dfc 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."
2360 (process-live-p (get-buffer-process (current-buffer)))) 2360 (process-live-p (get-buffer-process (current-buffer))))
2361 (let* ((input (buffer-substring-no-properties 2361 (let* ((input (buffer-substring-no-properties
2362 prompt-end (point-max))) 2362 prompt-end (point-max)))
2363 (deactivate-mark nil)
2363 (start-pos prompt-end) 2364 (start-pos prompt-end)
2364 (buffer-undo-list t) 2365 (buffer-undo-list t)
2365 (font-lock-buffer-pos nil) 2366 (font-lock-buffer-pos nil)