diff options
Diffstat (limited to 'lisp/mastodon-widget.el')
-rw-r--r-- | lisp/mastodon-widget.el | 4 |
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)) |