summaryrefslogtreecommitdiff
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 06029964..26d5c053 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -4028,6 +4028,10 @@ Called by doccheckin script."
(org-agenda-remove-tags t)
(org-agenda-overriding-header "Sean's diary for the next two months")))))
+(defun spw/org-agenda-filter-by-tag (&rest _ignore)
+ (when org-agenda-entry-text-mode (org-agenda-entry-text-mode)))
+(advice-add 'org-agenda-filter-by-tag :before #'spw/org-agenda-filter-by-tag)
+
(defun spw/org-auto-exclude-function (tag)
(let ((hour-of-day
;; (info "(elisp) Time of Day") suggests you really are meant to use