Function: majutsu-row-refresh-tail-spacers
majutsu-row-refresh-tail-spacers is a natively compiled function
defined in majutsu-row.el.
Signature
(majutsu-row-refresh-tail-spacers &optional BEG END WINDOW)
Documentation
Recompute right-alignment display specs in BEG..END.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-row.el
(defun majutsu-row-refresh-tail-spacers (&optional beg end window)
"Recompute right-alignment display specs in BEG..END."
(setq window (or window (majutsu-row--tail-owner-window)))
(with-silent-modifications
(let ((inhibit-read-only t))
(save-excursion
(let ((pos (or beg (point-min)))
(end (or end (point-max))))
(while (and (< pos end)
(setq pos (text-property-any
pos end 'majutsu-row-tail-spacer t)))
(put-text-property
pos (1+ pos) 'display
`(space :align-to
,(majutsu-row-tail-align-to-width
(majutsu-row--tail-width-at pos window)
window)))
(setq pos (1+ pos))))))))