]> git.eshelyaron.com Git - emacs.git/commitdiff
(describe-char-after): Revert previous change. Just call
authorColin Walters <walters@gnu.org>
Sat, 8 Jun 2002 22:12:57 +0000 (22:12 +0000)
committerColin Walters <walters@gnu.org>
Sat, 8 Jun 2002 22:12:57 +0000 (22:12 +0000)
`describe-text-properties' to describe text properties.

lisp/international/mule-diag.el

index 2082734983d056aa8c17dd5f9c16594d22604bce..6c34c74895429dd7b019e16984a21039986df341 100644 (file)
@@ -660,22 +660,8 @@ which font is being used for displaying the character."
                    "See the variable `reference-point-alist' for "
                    "the meaning of the rule.\n")))
        (when props
-         (insert "\nText properties\n"))
-       ;; List the text properties, sorted by the size of the printed
-       ;; representation of their value.  This makes it easier to
-       ;; read.
-       (dolist (elt (sort (let ((ret nil))
-                            (while props
-                              (push (cons (pop props)
-                                          (prin1-to-string (pop props)))
-                                    ret))
-                            ret)
-                          (lambda (a b)
-                            (< (length (cdr a))
-                               (length (cdr b))))))
-         (insert (format "  %s: %s\n" (propertize (symbol-name (car elt))
-                                                  'font-lock-face 'italic)
-                         (cdr elt))))))))
+         (insert "\nText properties\n")
+         (describe-text-properties props))))))
 
 \f
 ;;; CODING-SYSTEM