Explicitly deactivate the mark.
* lisp/simple.el (deactivate-mark): Update region highlight.
Fixes: debbugs:16866
+2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de>
+
+ * ps-print.el (ps-generate-postscript-with-faces):
+ Explicitly deactivate the mark (bug#16866).
+ * simple.el (deactivate-mark): Update region highlight.
+
2014-03-19 Juanma Barranquero <lekktu@gmail.com>
* emacs-lisp/package.el (describe-package-1):
(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)
(if (eq (car-safe transient-mark-mode) 'only)
(setq transient-mark-mode (cdr transient-mark-mode)))
(setq mark-active nil)
- (run-hooks 'deactivate-mark-hook))))
+ (run-hooks 'deactivate-mark-hook))
+ (redisplay--update-region-highlight (selected-window))))
(defun activate-mark (&optional no-tmm)
"Activate the mark.