aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2005-11-20 07:48:44 +0000
committerJuri Linkov2005-11-20 07:48:44 +0000
commit695effccdfe78132059e054a85e9200b868e0621 (patch)
treeb7d122ea72db828c303b4be37c067204908a04c5
parent9f40939dcdefd5b3eb26e442b1da6cfad60fc48d (diff)
downloademacs-695effccdfe78132059e054a85e9200b868e0621.tar.gz
emacs-695effccdfe78132059e054a85e9200b868e0621.zip
(encoded-string-description): Use Lisp-readable syntax for hex.
-rw-r--r--lisp/ChangeLog11
-rw-r--r--lisp/international/mule-cmds.el4
2 files changed, 13 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 082c37f3365..d4e96182fcc 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,14 @@
12005-11-20 Juri Linkov <juri@jurta.org>
2
3 * simple.el (what-cursor-position):
4 * descr-text.el (describe-char): Use Lisp-readable syntax
5 for octal and hex. Reorder decimal, octal and hex values.
6 Remove excess whitespace in the output. Use `=' in `column='
7 like in `point=' and `Hscroll='.
8
9 * international/mule-cmds.el (encoded-string-description):
10 Use Lisp-readable syntax for hex.
11
12005-11-19 Chong Yidong <cyd@stupidchicken.com> 122005-11-19 Chong Yidong <cyd@stupidchicken.com>
2 13
3 * longlines.el (longlines-before-revert-hook) 14 * longlines.el (longlines-before-revert-hook)
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index c84a66bcd63..ba9ec37a042 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -2647,8 +2647,8 @@ It can be retrieved with `(get-char-code-property CHAR PROPNAME)'."
2647 (if (and coding-system (eq (coding-system-type coding-system) 2)) 2647 (if (and coding-system (eq (coding-system-type coding-system) 2))
2648 ;; Try to get a pretty description for ISO 2022 escape sequences. 2648 ;; Try to get a pretty description for ISO 2022 escape sequences.
2649 (function (lambda (x) (or (cdr (assq x iso-2022-control-alist)) 2649 (function (lambda (x) (or (cdr (assq x iso-2022-control-alist))
2650 (format "0x%02X" x)))) 2650 (format "#x%02X" x))))
2651 (function (lambda (x) (format "0x%02X" x)))) 2651 (function (lambda (x) (format "#x%02X" x))))
2652 str " ")) 2652 str " "))
2653 2653
2654(defun encode-coding-char (char coding-system) 2654(defun encode-coding-char (char coding-system)