]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix "C-u C-x =" for SPC
authorEli Zaretskii <eliz@gnu.org>
Fri, 1 Jul 2022 14:17:36 +0000 (17:17 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 1 Jul 2022 14:17:36 +0000 (17:17 +0300)
* lisp/descr-text.el (describe-char): Don't report 'nobreak-space'
face for SPC.  (Bug#56337)

lisp/descr-text.el

index 4234deb73af8dbaf47760d9fb565d4d6c7279de1..7427817a8ecb7ef0b84c59de56eca91bebed0b85 100644 (file)
@@ -690,6 +690,7 @@ The character information includes:
                                                   (looking-at-p "[ \t]+$")))
                              'trailing-whitespace)
                             ((and nobreak-char-display char
+                                  (> char 127)
                                   (eq (get-char-code-property char 'general-category) 'Zs))
                              'nobreak-space)
                             ((and nobreak-char-display char