[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature request: kill-buffer for org-capture-finalize
From: |
Eduardo Suarez |
Subject: |
Re: Feature request: kill-buffer for org-capture-finalize |
Date: |
Mon, 11 Sep 2023 00:17:57 +0100 |
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.
- Feature request: kill-buffer for org-capture-finalize, Eduardo Suarez, 2023/09/08
- Re: Feature request: kill-buffer for org-capture-finalize, Ihor Radchenko, 2023/09/08
- Re: Feature request: kill-buffer for org-capture-finalize, Eduardo Suarez-Santana, 2023/09/08
- Re: Feature request: kill-buffer for org-capture-finalize, Ihor Radchenko, 2023/09/08
- Re: Feature request: kill-buffer for org-capture-finalize, Eduardo Suarez-Santana, 2023/09/08
- Re: Feature request: kill-buffer for org-capture-finalize, Ihor Radchenko, 2023/09/09
- Re: Feature request: kill-buffer for org-capture-finalize, Eduardo Suarez, 2023/09/09
- Re: Feature request: kill-buffer for org-capture-finalize, Ihor Radchenko, 2023/09/10
- Re: Feature request: kill-buffer for org-capture-finalize, Eduardo Suarez, 2023/09/10
- Re: Feature request: kill-buffer for org-capture-finalize, Ihor Radchenko, 2023/09/10
- Re: Feature request: kill-buffer for org-capture-finalize,
Eduardo Suarez <=