about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-06-22T17·30-0400
committergrfn <grfn@gws.fyi>2021-06-23T21·52+0000
commite62f578687a8ee81394d00a5775843bb0bd813a0 (patch)
tree92fe15abc65072928c344a22eb2754a37e7b80a7
parent7437a181888f3e8938a943ae22962f21b1c03b1e (diff)
fix(gs/emacs): Fix headlines-from-assigned-to-me r/2683
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
-rw-r--r--users/grfn/emacs.d/config.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/users/grfn/emacs.d/config.el b/users/grfn/emacs.d/config.el
index 5b41c28a0f..16d75ddc70 100644
--- a/users/grfn/emacs.d/config.el
+++ b/users/grfn/emacs.d/config.el
@@ -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")))