From d4bbee5d4e7d3cc11bc7cdf1101d50dfa63cf30b Mon Sep 17 00:00:00 2001 From: Sean Allred Date: Sat, 1 Nov 2014 18:59:06 -0400 Subject: Introduce `stack-core-silent-requests' as default If this value is `t', requests will default to being silent. --- stack-core.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'stack-core.el') 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 -- cgit v1.2.3