Ignacio Casso <ignacioca...@hotmail.com> writes: > After restricting the agenda to a file for a single agenda command, with > 'C-c a < a', and exiting the agenda with 'x', (org-agenda-files) still > returns that file instead of the original list of agenda files. This can > be easily solved using the UNRESTRICTED optional argument in > `org-agenda-files', but I wonder if this behavior is correct.
Thanks for reporting! Confirmed. > This is probably a minor issue, but since it was the cause of a bug in > my config that took me a while to debug, I'm reporting it in case you > think that something should be done about it. In case you are curious > about my use case, I was just doing something like Honestly, something should be done about org-agenda.el in its totality. It is notoriously difficult to debug :( Best, Ihor