summaryrefslogtreecommitdiff
path: root/lisp/descr-text.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2011-10-20 01:35:48 +0300
committerJuri Linkov <juri@jurta.org>2011-10-20 01:35:48 +0300
commitaa42ab43f2e3ea06adb21f82abb3d4c502bc9d40 (patch)
tree50f6ff7aea7c02b06648bc2dc16ae895a3afd967 /lisp/descr-text.el
parent89400f1da21c47f39b3dd96f48382c31aa6dde86 (diff)
downloademacs-aa42ab43f2e3ea06adb21f82abb3d4c502bc9d40.tar.gz
* lisp/descr-text.el (describe-char): Add #x2010 and #x2011 to
the list of hard-coded chars with escape-glyph face.
Diffstat (limited to 'lisp/descr-text.el')
-rw-r--r--lisp/descr-text.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/descr-text.el b/lisp/descr-text.el
index 7d267cec480..c175bd7c3c7 100644
--- a/lisp/descr-text.el
+++ b/lisp/descr-text.el
@@ -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)))))