Alan Schmitt <alan.schm...@polytechnique.org> writes:

> ...
> - I added a hook to org-capture-after-finalize-hook
                                  ^^^^^
>   #+begin_src emacs-lisp
>   (defun as/do-org-board-dl-hook ()
>     (when (equal (buffer-name) (concat "CAPTURE-" as/org-board-capture-file))
>       (org-board-archive)))
>
>   (add-hook 'org-capture-before-finalize-hook 'as/do-org-board-dl-hook)
                           ^^^^^^
>   #+end_src
>
> (Note: I mistakenly said that the "prepare" hook worked, but that would
                                     ^^^^^^^
> download the file even when cancelling, which was wrong)
>

Make up your mind, will you? :-)

-- 
Nick


Reply via email to