diff options
author | Bastien <bzg@gnu.org> | 2019-12-05 17:04:02 +0100 |
---|---|---|
committer | Bastien <bzg@gnu.org> | 2019-12-05 17:04:02 +0100 |
commit | 0997eba2878a3e8c492853e65a197a51a5cc3345 (patch) | |
tree | dd77a6ea9146fc5dc90434ba25a9d33fa418d8f8 | |
parent | 7938b6ec3092e7af45146e8c258b7da50611d4d6 (diff) | |
download | org-mode-0997eba2878a3e8c492853e65a197a51a5cc3345.tar.gz |
org-agenda.el: Warn the user when removing all agenda filters
* lisp/org-agenda.el (org-agenda-filter-remove-all): Warn the user.
-rw-r--r-- | lisp/org-agenda.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 4c2854f..41254bf 100644 --- a/lisp/org-agenda.el +++ b/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. |