diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-08-10 17:29:32 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-08-10 22:41:42 -0700 |
commit | 325040dfff5d0f36ca29ef1df867ba2ce4a48b89 (patch) | |
tree | ba2314c6048b73dabd249f7211e8c0331b0f8fa8 | |
parent | d9ee03491ed91817fdff6ea159983b61f2a785d3 (diff) | |
download | dotfiles-325040dfff5d0f36ca29ef1df867ba2ce4a48b89.tar.gz |
attempt to fix org-agenda-filter-by-tag in 'a' Org-mode agenda
-rw-r--r-- | .emacs.d/init.el | 4 |
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 |