[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Alfred workflow for org-capture
From: |
Alexander Baier |
Subject: |
Re: [O] Alfred workflow for org-capture |
Date: |
Fri, 13 Sep 2013 10:14:05 +0200 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) |
Hi Alan,
Alan Schmitt <address@hidden> writes:
[...]
> The question: is there a way to:
> - present only the capture buffer in the new frame (right now it's split
> with the scratch buffer)?
> - delete the window at the end of capture?
>
How about `org-capture-after-finalize-hook'? What I can get from the
pcumentation string it seems to be what you are looking for. You could
try something like this:
(add-hook org-capture-after-finalize-hook 'delete-frame)
Just tried that, and on my machine this works.
>
> According to some old discussion
> (https://lists.gnu.org/archive/html/emacs-orgmode/2011-11/msg00482.html)
> it is not possible, but things may have changed since then.
>
> Alan
Regards,
Alex