1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-03 19:52:16 -07:00

(describe-char-after): Revert previous change. Just call

`describe-text-properties' to describe text properties.
This commit is contained in:
Colin Walters 2002-06-08 22:12:57 +00:00
parent e2fa2f6e91
commit a7ed3f6a4e

View 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))))))
;;; CODING-SYSTEM