Variable: pre-redisplay-functions
pre-redisplay-functions is a variable defined in simple.el.gz.
Value
(redisplay--update-region-highlight)
Documentation
Hook run just before redisplay.
It is called in each window that is to be redisplayed. It takes one argument,
which is the window that will be redisplayed. When run, the current-buffer
is set to the buffer displayed in that window.
Probably introduced at or before Emacs version 25.1.
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defvar pre-redisplay-functions (list #'redisplay--update-region-highlight)
"Hook run just before redisplay.
It is called in each window that is to be redisplayed. It takes one argument,
which is the window that will be redisplayed. When run, the `current-buffer'
is set to the buffer displayed in that window.")