Fix character display by "C-u C-x =" in presence of display properties.

lisp/descr-text.el (describe-char): Show the raw character, not only
 its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
 for the reasons.
This commit is contained in:
Eli Zaretskii
2012-01-28 11:52:24 +02:00
parent 80ed530414
commit e0da685ab9
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
2012-01-28 Eli Zaretskii <eliz@gnu.org>
* descr-text.el (describe-char): Show the raw character, not only
its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
for the reasons.
2012-01-28 Phil Hagelberg <phil@hagelb.org>
* emacs-lisp/package.el (package-install): Run

View File

@@ -512,7 +512,8 @@ as well as widgets, buttons, overlays, and text properties."
(setq item-list
`(("character"
,(format "%s (%d, #o%o, #x%x)"
,(format "%s (displayed as %s) (codepoint %d, #o%o, #x%x)"
char-description
(apply 'propertize char-description
(text-properties-at pos))
char char char))