aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii2012-01-28 11:52:24 +0200
committerEli Zaretskii2012-01-28 11:52:24 +0200
commite0da685ab9eccd5a4e2c5114c980b4ac34ec7675 (patch)
tree99ba26f823153457e161f2d6fd9f412c34aa1724 /lisp
parent80ed530414e6e2a3812e33e06b3ee1aab00700aa (diff)
downloademacs-e0da685ab9eccd5a4e2c5114c980b4ac34ec7675.tar.gz
emacs-e0da685ab9eccd5a4e2c5114c980b4ac34ec7675.zip
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.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/descr-text.el3
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f4598a5e70e..0b629637a79 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12012-01-28 Eli Zaretskii <eliz@gnu.org>
2
3 * descr-text.el (describe-char): Show the raw character, not only
4 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
6 for the reasons.
7
12012-01-28 Phil Hagelberg <phil@hagelb.org> 82012-01-28 Phil Hagelberg <phil@hagelb.org>
2 9
3 * emacs-lisp/package.el (package-install): Run 10 * emacs-lisp/package.el (package-install): Run
diff --git a/lisp/descr-text.el b/lisp/descr-text.el
index 0ab72d414e0..9aa061be57b 100644
--- a/lisp/descr-text.el
+++ b/lisp/descr-text.el
@@ -512,7 +512,8 @@ as well as widgets, buttons, overlays, and text properties."
512 512
513 (setq item-list 513 (setq item-list
514 `(("character" 514 `(("character"
515 ,(format "%s (%d, #o%o, #x%x)" 515 ,(format "%s (displayed as %s) (codepoint %d, #o%o, #x%x)"
516 char-description
516 (apply 'propertize char-description 517 (apply 'propertize char-description
517 (text-properties-at pos)) 518 (text-properties-at pos))
518 char char char)) 519 char char char))