aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sx-question-print.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/sx-question-print.el b/sx-question-print.el
index 90a03fb..5b5ef4f 100644
--- a/sx-question-print.el
+++ b/sx-question-print.el
@@ -275,8 +275,9 @@ DETAILS, when given is an alist further describing the close."
(defun sx-question-mode--maybe-print-accept-button ()
"Print accept button if you own this question."
(when (sx-assoc-let sx-question-mode--data
- (= .owner.user_id
- (cdr (assq 'user_id (sx-network-user .site_par)))))
+ (ignore-errors
+ (= .owner.user_id
+ (cdr (assq 'user_id (sx-network-user .site_par))))))
(insert " ")
(insert-text-button "Accept" :type 'sx-button-accept)))