* lisp/descr-text.el (describe-char): Add #x2010 and #x2011 to

the list of hard-coded chars with escape-glyph face.
This commit is contained in:
Juri Linkov 2011-10-20 01:35:48 +03:00
parent 89400f1da2
commit aa42ab43f2
2 changed files with 7 additions and 1 deletions

View 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.

View 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)))))