From f0adc16a2c0d0397492a6fe9064bd9b848da14f7 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 28 Dec 2013 13:46:50 +0100 Subject: [PATCH] Kill buffer from hypo-delete-last --- hypo.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypo.el b/hypo.el index 4a197e5..5f179b9 100644 --- a/hypo.el +++ b/hypo.el @@ -121,7 +121,7 @@ STATUS is ignored." (unless hypo--last-post (error "Nothing posted this session")) (let ((url-request-method "DELETE") (url (format "%s/%s" hypo-instance-url hypo--last-post))) - (url-retrieve url #'ignore) + (url-retrieve url (lambda (status) (ignore status) (kill-buffer))) (setq hypo--last-post nil) (message "Deleted %s" url)))