From aa42ab43f2e3ea06adb21f82abb3d4c502bc9d40 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Thu, 20 Oct 2011 01:35:48 +0300 Subject: [PATCH] * lisp/descr-text.el (describe-char): Add #x2010 and #x2011 to the list of hard-coded chars with escape-glyph face. --- lisp/ChangeLog | 5 +++++ lisp/descr-text.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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))))) -- 2.39.2