diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2019-03-13 14:25:28 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2019-03-13 14:25:28 -0400 |
commit | fd71d626dc0554bcb770dc4b97b06edcf42516fb (patch) | |
tree | 2e59c19f1ac85e8416ebd9793a7c4b7914ad6eb6 /lisp/mail | |
parent | 5feaf906e110097a443af78f549f01c1bd527e25 (diff) | |
download | emacs-fd71d626dc0554bcb770dc4b97b06edcf42516fb.tar.gz |
* lisp/mail/hashcash.el (hashcash-insert-payment-async): Fix last change
Diffstat (limited to 'lisp/mail')
-rw-r--r-- | lisp/mail/hashcash.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/mail/hashcash.el b/lisp/mail/hashcash.el index 519c6d94e1b..60689529974 100644 --- 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) |