summaryrefslogtreecommitdiffstats
path: root/emacsconf.el
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2025-12-03 14:38:38 -0500
committerSacha Chua <sacha@sachachua.com>2025-12-03 14:38:38 -0500
commitf7ac2678209533ec3179ccf18504398649a95b74 (patch)
tree5c0fa951b997eb1814f437102211d7aea425b3bb /emacsconf.el
parent0c811c66f416f0f2d144a1061c2f862300b2f516 (diff)
downloademacsconf-el-f7ac2678209533ec3179ccf18504398649a95b74.tar.xz
emacsconf-el-f7ac2678209533ec3179ccf18504398649a95b74.zip
navigate main org notebook
Diffstat (limited to 'emacsconf.el')
-rw-r--r--emacsconf.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacsconf.el b/emacsconf.el
index ee57b38..e2d0fce 100644
--- a/emacsconf.el
+++ b/emacsconf.el
@@ -2121,6 +2121,12 @@ With a prefix argument (\\[universal-argument]), open the general organizers not
(call-interactively #'consult-org-heading))
(t (call-interactively #'org-goto))))
+(defun emacsconf-main-org-notebook-heading (&optional other)
+ "Open the main public organizers notebook and jump to a heading.
+With a prefix argument (\\[universal-argument]), open this year's notebook."
+ (interactive (list current-prefix-arg))
+ (emacsconf-current-org-notebook-heading (not other)))
+
(defvar emacsconf-refresh-schedule-from-org nil "Non-nil means refresh the schedule from the organizer notebook.")
(defun emacsconf-current-org-notebook-refresh-schedule ()
"Refresh info from draft schedule."