mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Show nobreak-space face for more blank characters in describe-char.
* lisp/descr-text.el (describe-char): Handle more non-ASCII whitespace
characters added in f018cffca0 (bug#44236)
This commit is contained in:
parent
7baf8cae0f
commit
43d5b79a69
1 changed files with 2 additions and 1 deletions
|
|
@ -687,7 +687,8 @@ The character information includes:
|
|||
(save-excursion (goto-char pos)
|
||||
(looking-at-p "[ \t]+$")))
|
||||
'trailing-whitespace)
|
||||
((and nobreak-char-display char (eq char '#xa0))
|
||||
((and nobreak-char-display char
|
||||
(eq (get-char-code-property char 'general-category) 'Zs))
|
||||
'nobreak-space)
|
||||
((and nobreak-char-display char
|
||||
(memq char '(#xad #x2010 #x2011)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue