Function: redisplay--update-region-highlight
redisplay--update-region-highlight is a byte-compiled function defined
in simple.el.gz.
Signature
(redisplay--update-region-highlight WINDOW)
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun redisplay--update-region-highlight (window)
(let ((rol (window-parameter window 'internal-region-overlay)))
(if (not (and (region-active-p)
(or highlight-nonselected-windows
(eq window (selected-window))
(and (window-minibuffer-p)
(eq window (minibuffer-selected-window))))))
(funcall redisplay-unhighlight-region-function rol)
(let* ((pt (window-point window))
(mark (mark))
(start (min pt mark))
(end (max pt mark))
(new
(funcall redisplay-highlight-region-function
start end window rol)))
(unless (equal new rol)
(set-window-parameter window 'internal-region-overlay
new))))))