Browse Source

org-agenda.el: Warn the user when removing all agenda filters

* lisp/org-agenda.el (org-agenda-filter-remove-all): Warn the user.
Bastien 1 year ago
parent
commit
0997eba287
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lisp/org-agenda.el

+ 2 - 1
lisp/org-agenda.el

@@ -7760,7 +7760,8 @@ which see."
     (org-agenda-filter-show-all-top-filter))
   (when org-agenda-effort-filter
     (org-agenda-filter-show-all-effort))
-  (org-agenda-finalize))
+  (org-agenda-finalize)
+  (message "All agenda filters removed"))
 
 (defun org-agenda-filter-by-tag (strip-or-accumulate &optional char exclude)
   "Keep only those lines in the agenda buffer that have a specific tag.