diff options
author | Carsten Dominik <carsten.dominik@gmail.com> | 2019-08-27 09:15:53 +0200 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2019-08-29 11:38:14 +0200 |
commit | fa792e92319a76428856d3ab588031085f56ed57 (patch) | |
tree | a276f908bb28c722315700a8a90dcc605e640fb7 | |
parent | 8c011126b5d79c554f3f42de104e2f46af36b697 (diff) | |
download | org-mode-fa792e92319a76428856d3ab588031085f56ed57.tar.gz |
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.
-rw-r--r-- | lisp/org-agenda.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 977260d..6582049 100644 --- a/lisp/org-agenda.el +++ b/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)))) |