* lisp/whitespace.el (whitespace-display-vector-p): Support glyph
codes, not just plain characters. See
https://lists.gnu.org/archive/html/help-gnu-emacs/2024-04/msg00248.html
for the details.
(cherry picked from commit
3bf9a047427aab554ce228250a796fa327d9b353)
(let ((i (length vec)))
(when (> i 0)
(while (and (>= (setq i (1- i)) 0)
- (whitespace-char-valid-p (aref vec i))))
+ (whitespace-char-valid-p (glyph-char (aref vec i)))))
(< i 0))))