]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve describe-text-properties display
authorStefan Kangas <stefankangas@gmail.com>
Sun, 27 Nov 2022 06:29:54 +0000 (07:29 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Sun, 27 Nov 2022 06:32:13 +0000 (07:32 +0100)
* 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.

lisp/descr-text.el

index 7fad031add65ba91b63179eb88e9ec2928a110ce..f2ffddcf70218146fd12137d301204c43a11dfba 100644 (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)