projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5feaf90
)
* lisp/mail/hashcash.el (hashcash-insert-payment-async): Fix last change
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 13 Mar 2019 18:25:28 +0000
(14:25 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 13 Mar 2019 18:25:28 +0000
(14:25 -0400)
lisp/mail/hashcash.el
patch
|
blob
|
history
diff --git
a/lisp/mail/hashcash.el
b/lisp/mail/hashcash.el
index 519c6d94e1bd329c24320181b196323d916b46d7..606895299748c583621346865e06ccf49f94c8b4 100644
(file)
--- a/
lisp/mail/hashcash.el
+++ b/
lisp/mail/hashcash.el
@@
-243,8
+243,9
@@
Only start calculation. Results are inserted when ready."
(hashcash-generate-payment-async
(hashcash-payment-to arg)
(hashcash-payment-required arg)
- (lambda (process payment)
- (hashcash-insert-payment-async-2 (current-buffer) process payment)))))
+ (let ((buf (current-buffer)))
+ (lambda (process payment)
+ (hashcash-insert-payment-async-2 buf process payment))))))
(defun hashcash-insert-payment-async-2 (buffer process pay)
(when (buffer-live-p buffer)