branch: elpa/fedi
commit e66f8bff8a65ff5971dc3c3f2c421194bb14d117
Author: marty hiatt <martianhiatus [a t] riseup [d o t] net>
Commit: marty hiatt <martianhiatus [a t] riseup [d o t] net>

    fix propertize of status fields but not labels
---
 fedi-post.el | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/fedi-post.el b/fedi-post.el
index 0c9c745f987..f7a2b929c53 100644
--- a/fedi-post.el
+++ b/fedi-post.el
@@ -438,15 +438,14 @@ This is how mastodon does it."
                            (list 'display
                                  (if (eval .item-var)
                                      (format
-                                      (if .no-label
-                                          (concat
-                                           (propertize "%s"
-                                                       'face .face)
-                                           " ⋅ ")
-                                        (concat (capitalize .name)
-                                                ": "
-                                                (propertize "%s"
-                                                            'face .face)))
+                                      (concat
+                                       (if .no-label
+                                           ""
+                                         (concat (capitalize .name)
+                                                 ": "))
+                                       (propertize "%s"
+                                                   'face .face)
+                                       " ⋅ ")
                                       (eval .item-var))
                                    "")
                                  'face 'fedi-post-docs-face)))))

Reply via email to