Tyler Smith <ty...@plantarum.ca> writes: > Quitting needs to do something that you can respond to, either with > a hook, an advised function or something else?
I thought `org-capture-finalize' would be called anyway. But it isn't the case. > My proposal was just the first thing that I thought of, I'm sure there > are better solutions. That could be (message ...), but I'm missing > something in that case. You could use (condition-case nil (progn (org-capture) (delete-other-windows)) (error (delete-frame))) Obviously, this relies on the fact that exiting raises an error. Regards,