[emacs] Refine daily Review function to narrow at point

This commit is contained in:
Sebastian Schulze 2018-11-12 10:13:30 +01:00
parent 25aa20aefe
commit 12a613fbc5
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 3 additions and 1 deletions

View File

@ -188,7 +188,9 @@
(defun my-daily-review ()
(interactive)
(find-file "/home/bascht/Documents/Zettelkasten/Todo.org")
(end-of-buffer))
(goto-char (org-find-exact-headline-in-buffer "Daily Review"))
(org-narrow-to-subtree)
(org-open-at-point))
; Recent loops callable for daily review
(defun my-org-agenda-recent-open-loops ()