From 781870f2881cc5c2d473d0e5f87767179bec773b Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Fri, 18 Sep 2020 09:40:10 -0400 Subject: [PATCH] fix(gs/emacs): Use html_url when linking to PRs 'url is the API url of the PR, we want html_url to link to the web UI Change-Id: I058592cde8c01e0feb5f7d51b577f1c41137a717 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1989 Reviewed-by: glittershark Tested-by: BuildkiteCI --- users/glittershark/emacs.d/org-config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/glittershark/emacs.d/org-config.el b/users/glittershark/emacs.d/org-config.el index c72a7c968..651582d06 100644 --- a/users/glittershark/emacs.d/org-config.el +++ b/users/glittershark/emacs.d/org-config.el @@ -151,7 +151,7 @@ (lambda (value headers status req) (prog1 (funcall cb value headers status req) (grfn/at-org-clocked-in-item - (let ((url (alist-get 'url value)) + (let ((url (alist-get 'html_url value)) (number (alist-get 'number value))) (org-set-property "pull-request"