1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00

Improve describe-text-properties display

* lisp/descr-text.el (describe-property-list): Don't propertize white
space with the 'help-argument-name' face.  This improves display
slightly when that face has an underline.
This commit is contained in:
Stefan Kangas 2022-11-27 07:29:54 +01:00
parent a3d8da2476
commit 4a28f55149

View File

@ -77,8 +77,9 @@ into help buttons that call `describe-text-category' or
(prin1-to-string (nth 0 b) t)))))
(let ((key (nth 0 elt))
(value (nth 1 elt)))
(insert (propertize (format " %-20s " key)
'face 'help-argument-name))
(insert (format " %-20s "
(propertize (symbol-name key)
'face 'help-argument-name)))
(cond ((eq key 'category)
(insert-text-button
(symbol-name value)