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.
This commit is contained in:
parent
8c011126b5
commit
fa792e9231
|
@ -7456,7 +7456,9 @@ With a prefix argument, exclude the lines of that category."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(if (and org-agenda-filtered-by-category
|
(if (and org-agenda-filtered-by-category
|
||||||
org-agenda-category-filter)
|
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))
|
(let* ((categories (org-agenda-all-categories))
|
||||||
(defcat (org-no-properties (or (org-agenda-get-category)
|
(defcat (org-no-properties (or (org-agenda-get-category)
|
||||||
(car categories))))
|
(car categories))))
|
||||||
|
|
Loading…
Reference in New Issue