aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sx-filter.el4
-rw-r--r--sx.el1
2 files changed, 3 insertions, 2 deletions
diff --git a/sx-filter.el b/sx-filter.el
index 4ed3dbe..aa815a2 100644
--- a/sx-filter.el
+++ b/sx-filter.el
@@ -53,8 +53,8 @@ or string."
(let ((response (sx-request-make
"filter/create"
keyword-arguments)))
- (url-hexify-string
- (cdr (assoc 'filter (elt response 0)))))))
+ (sx-assoc-let (elt response 0)
+ (url-hexify-string filter)))))
;;; Storage and Retrieval
diff --git a/sx.el b/sx.el
index 00fda40..6165714 100644
--- a/sx.el
+++ b/sx.el
@@ -91,6 +91,7 @@ a string, just return it."
error_name
error_message
favorite_count
+ filter
items
is_accepted
is_answered