0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 20:37:51 +00:00

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 <stig@brautaset.org>
Link: https://orgmode.org/list/m2ftazm3l1.fsf@brautaset.org/

This completes 2fb129b5c, as per Kyle's analysis here:
https://orgmode.org/list/87r1ufmw72.fsf@kyleam.com/
This commit is contained in:
Bastien 2021-05-17 00:49:32 +02:00
parent c670379adf
commit 823f9744e9

View file

@ -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)))