fix(gs/emacs): Fix headlines-from-assigned-to-me

If org-tracker-headlines-from-search is called non-interactively, it
only *returns* the org headlines as a string, rather than inputting them
at point.

Change-Id: Ia43d516f35a11383b206a57f345a6aeedfe86831
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3230
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Griffin Smith 2021-06-22 13:30:14 -04:00 committed by grfn
parent 7437a18188
commit e62f578687

View file

@ -241,7 +241,8 @@
(defun org-tracker-headlines-from-assigned-to-me (level)
(interactive "*nLevel: ")
(org-tracker-headlines-from-search
(funcall-interactively
#'org-tracker-headlines-from-search
level
"assignee = currentUser() and statusCategory = 2")))