Matt Lundin <m...@imapmail.org> writes:

[...]

> The problem is that the functions capture-finalize and capture-destroy
> do not exist. I imagine the original code was designed for remember mode
> (which does have the functions remember-destroy and remember-finalize).
>
> The relevant function in org-capture.el, I believe, is
> org-capture-finalize. I think the following defadvice should work:
>
> (defadvice org-capture-finalize (after delete-capture-frame activate)
>   "Advise capture-finalize to close the frame if it is the capture frame"
>   (if (equal "capture" (frame-parameter nil 'name))
>       (delete-frame)))
>
> Best,
> Matt

Ah ha!  Yes, this works perfectly fine.  Thanks!

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.89.g97f4c)

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to