How can I show the Org-mode agenda on Emacs start-up?

后端 未结 6 2156
失恋的感觉
失恋的感觉 2020-12-13 19:40

I would like the Org-mode agenda to automatically show what I have to do today when I open Emacs. The org-agenda command is interactive, so it doesn\'t seem to work well for

6条回答
  •  -上瘾入骨i
    2020-12-13 20:24

    You can use after-init-hook to run a piece of code after initialization has finished. To run (org-agenda-list) after init, use:

    (add-hook 'after-init-hook 'org-agenda-list)
    

提交回复
热议问题