From 0f372daeaf8dff840dbf8bf943d87b3e9b63c053 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Thu, 14 Sep 2023 10:01:23 +1000 Subject: [emacs] Some small changes with gnus->org-capture --- emacs/.emacs.d/lisp/my/my-org.el | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'emacs/.emacs.d/lisp') diff --git a/emacs/.emacs.d/lisp/my/my-org.el b/emacs/.emacs.d/lisp/my/my-org.el index 41b73d4..8a6991e 100644 --- a/emacs/.emacs.d/lisp/my/my-org.el +++ b/emacs/.emacs.d/lisp/my/my-org.el @@ -1338,6 +1338,13 @@ buffer preserved, annotated with the size" (insert line "\n")))))) (switch-to-buffer-other-window "*org-sizes*")) +(defun my-org-capture-todo () + "Capture todo template." + (interactive) + (org-capture nil "t") + (org-capture-finalize) + (message "todo captured.")) + ;; for `org-link-frame-setup' (defun my-org-gnus-other-window-advice () (other-window 1)) -- cgit v1.2.3