diff options
author | Sean Allred <code@seanallred.com> | 2014-11-01 18:59:06 -0400 |
---|---|---|
committer | Sean Allred <code@seanallred.com> | 2014-11-01 18:59:06 -0400 |
commit | d4bbee5d4e7d3cc11bc7cdf1101d50dfa63cf30b (patch) | |
tree | 4564c4f18c20f4ec1451fbb988b485c26291878f /stack-core.el | |
parent | 0943b14b1991b42ce838c5f2189af92bb62f6d96 (diff) |
Introduce `stack-core-silent-requests' as default
If this value is `t', requests will default to being silent.
Diffstat (limited to 'stack-core.el')
-rw-r--r-- | stack-core.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stack-core.el b/stack-core.el index 37ae2af..b1657eb 100644 --- a/stack-core.el +++ b/stack-core.el @@ -92,6 +92,10 @@ recent call. Set by `stack-core-make-request'.") number, `stack-core-make-request' will begin printing out the number of requests left every time it finishes a call.") +(defcustom stack-core-silent-requests + t + "When `t', requests default to being silent.") + ;;; Keyword Arguments @@ -151,6 +155,7 @@ optional KEYWORD-ARGUMENTS. If no KEYWORD-ARGUMENTS are given, entire response as a complex alist." (let ((url-automatic-caching stack-core-cache-requests) (url-inhibit-uncompression t) + (silent (or silent stack-core-silent-requests)) (call (stack-core-build-request method |