projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2df8bc4
)
Fix handling of glyph codes in whitespace.el
author
Eli Zaretskii
<eliz@gnu.org>
Wed, 24 Apr 2024 07:02:22 +0000
(10:02 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Wed, 24 Apr 2024 07:02:22 +0000
(10:02 +0300)
* 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.
lisp/whitespace.el
patch
|
blob
|
history
diff --git
a/lisp/whitespace.el
b/lisp/whitespace.el
index 15c1b83fcc124d65f4c03660beb6a9cce0d75f13..bc23a8794ebfba9f76486929199cd1ede171ddc6 100644
(file)
--- a/
lisp/whitespace.el
+++ b/
lisp/whitespace.el
@@
-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))))