Selaa lähdekoodia

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

* lisp/org-agenda.el (org-agenda-filter-remove-all): Warn the user.
Bastien 5 vuotta sitten
vanhempi
commit
0997eba287
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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.