From 2928e8b20bd338b67c78dcd3926c37d865c76017 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 27 Jan 2021 15:52:21 -0600 Subject: Add hl-line-mode to org-agenda-mode-hook --- config.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config.org b/config.org index ef9fe91..f52a56e 100644 --- a/config.org +++ b/config.org @@ -2140,6 +2140,15 @@ Inspo: (define-key acdw/leader (kbd "C-a") #'org-agenda) #+end_src +*** Agenda hooks + +#+begin_src emacs-lisp :noweb-ref hooks + (defun hook--org-agenda-mode () + (hl-line-mode +1)) + + (add-hook 'org-agenda-mode-hook #'hook--org-agenda-mode) +#+end_src + *** Refile #+begin_src emacs-lisp :noweb-ref settings -- cgit 1.4.1-21-gabe81