From 325040dfff5d0f36ca29ef1df867ba2ce4a48b89 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 10 Aug 2022 17:29:32 -0700 Subject: attempt to fix org-agenda-filter-by-tag in 'a' Org-mode agenda --- .emacs.d/init.el | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3