diff options
author | Case Duckworth | 2021-01-27 15:52:21 -0600 |
---|---|---|
committer | Case Duckworth | 2021-01-27 15:52:21 -0600 |
commit | 2928e8b20bd338b67c78dcd3926c37d865c76017 (patch) | |
tree | dc5eb68f23ee086267cc671decf34cca229ef873 | |
parent | Add elfeed (diff) | |
download | emacs-2928e8b20bd338b67c78dcd3926c37d865c76017.tar.gz emacs-2928e8b20bd338b67c78dcd3926c37d865c76017.zip |
Add hl-line-mode to org-agenda-mode-hook
-rw-r--r-- | config.org | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config.org b/config.org index ef9fe91..f52a56e 100644 --- a/config.org +++ b/config.org | |||
@@ -2140,6 +2140,15 @@ Inspo: | |||
2140 | (define-key acdw/leader (kbd "C-a") #'org-agenda) | 2140 | (define-key acdw/leader (kbd "C-a") #'org-agenda) |
2141 | #+end_src | 2141 | #+end_src |
2142 | 2142 | ||
2143 | *** Agenda hooks | ||
2144 | |||
2145 | #+begin_src emacs-lisp :noweb-ref hooks | ||
2146 | (defun hook--org-agenda-mode () | ||
2147 | (hl-line-mode +1)) | ||
2148 | |||
2149 | (add-hook 'org-agenda-mode-hook #'hook--org-agenda-mode) | ||
2150 | #+end_src | ||
2151 | |||
2143 | *** Refile | 2152 | *** Refile |
2144 | 2153 | ||
2145 | #+begin_src emacs-lisp :noweb-ref settings | 2154 | #+begin_src emacs-lisp :noweb-ref settings |