summaryrefslogtreecommitdiff
path: root/lisp/ps-print.el
diff options
context:
space:
mode:
authorStefan-W. Hahn <stefan.hahn@s-hahn.de>2014-03-19 15:12:50 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2014-03-19 15:12:50 -0400
commit6a72e405532b56406306cda56b4e2ef0807e2760 (patch)
tree20f050eb6778e0759715ed3b6913faad01276bef /lisp/ps-print.el
parent722493d794101ebabceb63bac72d94c4cae6e965 (diff)
downloademacs-6a72e405532b56406306cda56b4e2ef0807e2760.tar.gz
* lisp/ps-print.el (ps-generate-postscript-with-faces):
Explicitly deactivate the mark. * lisp/simple.el (deactivate-mark): Update region highlight. Fixes: debbugs:16866
Diffstat (limited to 'lisp/ps-print.el')
-rw-r--r--lisp/ps-print.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/ps-print.el b/lisp/ps-print.el
index 6251a6caa87..004bdce1f6a 100644
--- a/lisp/ps-print.el
+++ b/lisp/ps-print.el
@@ -6429,6 +6429,7 @@ If FACE is not a valid face name, use default face."
(save-restriction
(narrow-to-region from to)
(ps-print-ensure-fontified from to)
+ (deactivate-mark) ;bug#16866.
(ps-generate-postscript-with-faces1 from to)))
(defun ps-generate-postscript (from to)