On Sun, Sep 10, 2023 at 10:57:46AM +0000, Ihor Radchenko wrote: > Then, what you can do is > > (defun my-org-capture-finalize (arg) > "Like `org-capture-finalize', but kill Org buffer with double prefix arg." > (interactive "P") > (if (equal arg '(16)) > (save-excursion > (org-capture-finalize) > (org-capture-goto-last-stored) > (kill-buffer)) > (org-capture-finalize arg))) > (define-key org-capture-mode-map "\C-c\C-c" #'my-org-capture-finalize)
It worked! Thanks a lot for the help.