aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-12-28 13:46:50 +0100
committerGravatar Tom Willemse2013-12-28 13:46:50 +0100
commitf0adc16a2c0d0397492a6fe9064bd9b848da14f7 (patch)
treeae0863101060f0e1cd6131a6922cf38b12e26bde
parentf8d7a0e267d305a841b130d2ba7a7c11e022e172 (diff)
downloadhypo-emacs-f0adc16a2c0d0397492a6fe9064bd9b848da14f7.tar.gz
hypo-emacs-f0adc16a2c0d0397492a6fe9064bd9b848da14f7.zip
Kill buffer from hypo-delete-lastHEADmaster
-rw-r--r--hypo.el2
1 files changed, 1 insertions, 1 deletions
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)))