diff options
Diffstat (limited to 'stack-core.el')
-rw-r--r-- | stack-core.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/stack-core.el b/stack-core.el index 2cdf63c..8badc3a 100644 --- a/stack-core.el +++ b/stack-core.el @@ -151,9 +151,11 @@ entire response as a complex alist." (json-read-from-string (let ((call (stack-core-build-request method - (cons `(filter . ,stack-core-filter) + (cons `(filter . ,(if (boundp 'stack-core-filter) + stack-core-filter)) (if keyword-arguments keyword-arguments - (stack-core-get-default-keyword-arguments method))))) + (stack-core-get-default-keyword-arguments + method))))) (url-automatic-caching stack-core-cache-requests)) ;; TODO: url-retrieve-synchronously can return nil if the call is ;; unsuccessful should handle this case |