branch: elpa/fedi
commit 8de2f6d6e9e6ec82a455cd00bc0a7aed6e846c78
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 | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/fedi-post.el b/fedi-post.el
index 0c9c745f987..31bc3a46ee3 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)))))
@@ -583,7 +582,7 @@ CAPF-FUNS is a list of functions to enable."
(make-local-variable 'after-change-functions)
;; (cl-pushnew #'fedi-post--save-post-text after-change-functions)
(cl-pushnew #'fedi-post--update-status-fields after-change-functions)
- (setq fedi-status-fields-items fields-alist)
+ (setq fedi-post-status-fields-items fields-alist)
(fedi-post--update-status-fields)
;; disable for markdown-mode:
(unless (eq major 'markdown-mode)