aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-widget.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@disroot.org>2024-10-27 10:12:47 +0100
committermarty hiatt <martianhiatus@disroot.org>2024-10-27 10:12:47 +0100
commit6d46a197b338ae1e3cbc758fc7901350f084a381 (patch)
tree457581b86bf115a3e3c56e6f9dd61bced88ef7a1 /lisp/mastodon-widget.el
parentc7c2cfdf3a4aa47a41a493369c0c9e2512712dd1 (diff)
widget: remove mastodon-profile--views-plist
Diffstat (limited to 'lisp/mastodon-widget.el')
-rw-r--r--lisp/mastodon-widget.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mastodon-widget.el b/lisp/mastodon-widget.el
index 0c1026c..0c6542a 100644
--- a/lisp/mastodon-widget.el
+++ b/lisp/mastodon-widget.el
@@ -70,7 +70,9 @@ NOTIFY-FUN is the widget's notify function."
(let* ((val-length (length (if (symbolp value)
(symbol-name value)
value)))
- (type-list (symbol-value type))
+ (type-list (if (symbolp type)
+ (symbol-value type)
+ type))
(longest (apply #'max
(mapcar #'length
(if (symbolp (car type-list))