Commit 9b5e7a5c authored by Andreas Schwab's avatar Andreas Schwab

(describe-char): Use `char' instead of

`(char-after)'.  Fix display of unicode.
parent 6dc62ce1
2003-05-28 Andreas Schwab <schwab@suse.de>
* descr-text.el (describe-char): Use `char' instead of
`(char-after)'. Fix display of unicode.
2003-05-28 Nick Roberts <nick@nick.uklinux.net>
* gud.el (gud-gdb-goto-stackframe, gud-gdb-get-stackframe): Add
......
......@@ -462,7 +462,7 @@ as well as widgets, buttons, overlays, and text properties."
(char-to-string char))
char char char))))
(if (or (< (char-after) 256)
(if (or (< char 256)
(memq 'mule-utf-8 (find-coding-systems-region pos (1+ pos)))
(get-char-property pos 'untranslated-utf-8))
(setq unicode (or (get-char-property pos 'untranslated-utf-8)
......@@ -474,7 +474,7 @@ as well as widgets, buttons, overlays, and text properties."
(char-to-string char))
char char char
(if unicode
(format ", U+%04X" (encode-char char 'ucs))
(format ", U+%04X" unicode)
"")))
("charset"
,(symbol-name charset)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment