Hi Michael, Michael Brand writes: > Thank you for the help. I have chosen the solution with require org-capture. > > The patch is now finished and attached: I've reworked some parts of your patch, specifically, I used `org-at-regexp-p' instead of `org-capture-inside-embedded-elisp-p'. Can you check this is working okay for you? Thanks!