Browse Source

Show a message when category filter has been removed

* lisp/org-agenda.el (org-agenda-filter-by-category): Show a
message when filter has been removed.
Carsten Dominik 10 months ago
parent
commit
fa792e9231
1 changed files with 3 additions and 1 deletions
  1. 3 1
      lisp/org-agenda.el

+ 3 - 1
lisp/org-agenda.el

@@ -7456,7 +7456,9 @@ With a prefix argument, exclude the lines of that category."
   (interactive "P")
   (if (and org-agenda-filtered-by-category
 	   org-agenda-category-filter)
-      (org-agenda-filter-show-all-cat)
+      (progn
+	(org-agenda-filter-show-all-cat)
+	(message "All categories are shown"))
     (let* ((categories (org-agenda-all-categories))
 	   (defcat (org-no-properties (or (org-agenda-get-category)
 					  (car categories))))