From f099001018a8436f1843002e9192a4bf160e5a76 Mon Sep 17 00:00:00 2001 From: Sean Allred Date: Tue, 6 Jan 2015 10:43:31 -0500 Subject: Hotfix kill response buffers after request --- sx-request.el | 1 + 1 file changed, 1 insertion(+) (limited to 'sx-request.el') diff --git a/sx-request.el b/sx-request.el index 0d618d5..6f95687 100644 --- a/sx-request.el +++ b/sx-request.el @@ -191,6 +191,7 @@ the main content of the response is returned." ;; RESPONSE to 'corrupt or something (response (with-demoted-errors "`json' error: %S" (json-read-from-string data)))) + (kill-buffer response-buffer) (when (and (not response) (string-equal data "{}")) (sx-message "Unable to parse response: %S" response) (error "Response could not be read by `json-read-from-string'")) -- cgit v1.2.3