branch: externals-release/org commit 823f9744e9f6c58b6f5459e161a8501ec03603a3 Author: Bastien <b...@gnu.org> Commit: Bastien <b...@gnu.org>
lisp/org-agenda.el: Let tags-todo searches include DONE keywords * lisp/org-agenda.el (org-agenda, org-agenda-run-series): Don't set the todo-only parameter to '(4) when calling `org-tags-view'. Reported-by: Stig Brautaset <s...@brautaset.org> Link: https://orgmode.org/list/m2ftazm3l1....@brautaset.org/ This completes 2fb129b5c, as per Kyle's analysis here: https://orgmode.org/list/87r1ufmw72....@kyleam.com/ --- lisp/org-agenda.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 3bcfde2..7dfba55 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -2929,7 +2929,7 @@ Pressing `<' twice means to restrict to the current subtree or region ((eq type 'tags) (org-let lprops '(org-tags-view current-prefix-arg org-match))) ((eq type 'tags-todo) - (org-let lprops '(org-tags-view '(4) org-match))) + (org-let lprops '(org-tags-view nil org-match))) ((eq type 'todo) (org-let lprops '(org-todo-list org-match))) ((eq type 'tags-tree) @@ -3265,7 +3265,7 @@ s Search for keywords M Like m, but only TODO entries '(org-tags-view current-prefix-arg match))) ((eq type 'tags-todo) (org-let2 gprops lprops - '(org-tags-view '(4) match))) + '(org-tags-view nil match))) ((eq type 'todo) (org-let2 gprops lprops '(org-todo-list match)))