Function: header-line-indent--window-scroll-function
header-line-indent--window-scroll-function is a byte-compiled function
defined in display-line-numbers.el.gz.
Signature
(header-line-indent--window-scroll-function WINDOW START)
Aliases
tabulated-list-window-scroll-function (obsolete since 29.1)
Source Code
;; Defined in /usr/src/emacs/lisp/display-line-numbers.el.gz
(defun header-line-indent--window-scroll-function (window _start)
(let ((width (with-selected-window window
(truncate (line-number-display-width 'columns)))))
(setq header-line-indent-width width)
(unless (= (length header-line-indent) width)
(setq header-line-indent (make-string width ?\s)))))