From: Juri Linkov Date: Wed, 19 Oct 2011 22:35:48 +0000 (+0300) Subject: * lisp/descr-text.el (describe-char): Add #x2010 and #x2011 to X-Git-Tag: emacs-pretest-24.0.91~67 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aa42ab43f2e3ea06adb21f82abb3d4c502bc9d40;p=emacs.git * lisp/descr-text.el (describe-char): Add #x2010 and #x2011 to the list of hard-coded chars with escape-glyph face. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5a16793633e..149e8be4133 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-10-19 Juri Linkov + + * 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 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers. 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)))))