Fix handling of glyph codes in whitespace.el
* 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.
This commit is contained in:
parent
2df8bc4685
commit
3bf9a04742
1 changed files with 1 additions and 1 deletions
|
@ -2474,7 +2474,7 @@ purposes)."
|
|||
(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))))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue