]> git.eshelyaron.com Git - emacs.git/commitdiff
Use describe-char-padded-string for composed character names in "C-u C-x ="
authorJuri Linkov <juri@linkov.net>
Wed, 15 Jul 2020 23:43:06 +0000 (02:43 +0300)
committerJuri Linkov <juri@linkov.net>
Wed, 15 Jul 2020 23:43:06 +0000 (02:43 +0300)
* lisp/descr-text.el (describe-char): Use describe-char-padded-string
for displaying Unicode names of composed characters on GUI frames.
(Bug#42256)

lisp/descr-text.el

index be5e01435a7be3031abaa949bb7e8f03d720aea2..55f0b7dcb406c4cc5291fd774c4c759e71663299 100644 (file)
@@ -781,8 +781,8 @@ The character information includes:
                           (let ((chars (match-string 1 (car composition))))
                             (dotimes (i (length chars))
                               (let ((char (aref chars i)))
-                                (insert (format "  %c (#x%x) %s\n"
-                                                char char
+                                (insert (format "  %s (#x%x) %s\n"
+                                                (describe-char-padded-string char) char
                                                 (get-char-code-property
                                                  char 'name))))))))
                     ;; TTY frame: show composition in terms of characters.