aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/international/mule-diag.el20
1 files changed, 15 insertions, 5 deletions
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el
index 3ed7a501030..055da29a83e 100644
--- a/lisp/international/mule-diag.el
+++ b/lisp/international/mule-diag.el
@@ -659,11 +659,21 @@ which font is being used for displaying the character."
659 ").\n" 659 ").\n"
660 "See the variable `reference-point-alist' for " 660 "See the variable `reference-point-alist' for "
661 "the meaning of the rule.\n"))) 661 "the meaning of the rule.\n")))
662 (if props 662 (when props
663 (insert "\nText properties\n")) 663 (insert "\nText properties\n"))
664 (while props 664 ;; List the text properties, sorted by the size of the printed
665 (insert (format " %s: %s" (car props) (cadr props))) 665 ;; representation of their value. This makes it easier to
666 (setq props (cddr props))) 666 ;; read.
667 (dolist (elt (sort (let ((ret nil))
668 (while props
669 (push (cons (pop props)
670 (prin1-to-string (pop props)))
671 ret))
672 ret)
673 (lambda (a b)
674 (< (length (cdr a))
675 (length (cdr b))))))
676 (insert (format " %s: %s\n" (car elt) (cdr elt))))
667 )))) 677 ))))
668 678
669 679