* lisp/descr-text.el (describe-char): Add #x2010 and #x2011 to
authorJuri Linkov <juri@jurta.org>
Wed, 19 Oct 2011 22:35:48 +0000 (01:35 +0300)
committerJuri Linkov <juri@jurta.org>
Wed, 19 Oct 2011 22:35:48 +0000 (01:35 +0300)
the list of hard-coded chars with escape-glyph face.

lisp/ChangeLog
lisp/descr-text.el

index 5a16793..149e8be 100644 (file)
@@ -1,3 +1,8 @@
+2011-10-19  Juri Linkov  <juri@jurta.org>
+
+       * descr-text.el (describe-char): Add #x2010 and #x2011 to
+       the list of hard-coded chars with escape-glyph face.
+
 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
index 7d267ce..c175bd7 100644 (file)
@@ -606,7 +606,8 @@ as well as widgets, buttons, overlays, and text properties."
                              'trailing-whitespace)
                             ((and nobreak-char-display char (eq char '#xa0))
                              'nobreak-space)
-                            ((and nobreak-char-display char (eq char '#xad))
+                            ((and nobreak-char-display char
+                                 (memq char '(#xad #x2010 #x2011)))
                              'escape-glyph)
                             ((and (< char 32) (not (memq char '(9 10))))
                              'escape-glyph)))))