Morgan Smith <morgan.j.sm...@outlook.com> writes: > lisp/org-agenda.el (org-agenda-goto-date): Check agenda type earlier. > Also remove redundant error. > > When this function is run on a todo agenda the user is given the > undescriptive error "(wrong-type-argument listp "todo")" because we > attempt to parse the 'org-last-args text-property prematurely. With > this change users will get the much better error "Not allowed in > 'todo'-type agenda buffer or component".
Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=11e16e5f9 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>