From 77ca64de3bafe71fec29c68ea2f46f6a5a954b9d Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Thu, 27 Aug 2020 12:05:52 +0200 Subject: [PATCH] Add shortcuts for main Org Mode files Usually, only one of them is used. Maybe one day I have to replace the two files (or, more precisely, the custom variables pointing to them) by a single one. But then, having two files, and also two shortcuts, also remindes me of whether I am at home or at work, and that's quite significant, isn't it? --- site-lisp/db-customize.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/site-lisp/db-customize.el b/site-lisp/db-customize.el index f10e443..04b51f0 100644 --- a/site-lisp/db-customize.el +++ b/site-lisp/db-customize.el @@ -134,6 +134,8 @@ in the main agenda view." '(("Mail" ?m db/gnus) ("Agenda" ?a db/org-agenda) ("Init File" ?i db/find-user-init-file) + ("Home Org File" ?h #'(lambda () (interactive) (find-file db/org-default-home-file))) + ("Work Org File" ?w #'(lambda () (interactive) (find-file db/org-default-work-file))) ("EMMS" ?M emms) ("Shell" ?s db/run-or-hide-shell) ("EShell" ?e db/run-or-hide-eshell)