diff options
author | Yuchen Pei <id@ypei.org> | 2023-09-14 10:01:23 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-09-14 10:01:23 +1000 |
commit | 0f372daeaf8dff840dbf8bf943d87b3e9b63c053 (patch) | |
tree | 7c58a9d716be4336d8893a2e94d6616a39056b0c /emacs/.emacs.d/lisp/my | |
parent | 87b15618c4896d61789b8bd794162c7bacc48ef7 (diff) |
[emacs] Some small changes with gnus->org-capture
Diffstat (limited to 'emacs/.emacs.d/lisp/my')
-rw-r--r-- | emacs/.emacs.d/lisp/my/my-org.el | 7 |
1 files changed, 7 insertions, 0 deletions
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)) |