diff options
Diffstat (limited to 'users/glittershark/emacs.d/org-config.el')
-rw-r--r-- | users/glittershark/emacs.d/org-config.el | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/users/glittershark/emacs.d/org-config.el b/users/glittershark/emacs.d/org-config.el index 651582d06d4d..9ca5746ed8a7 100644 --- a/users/glittershark/emacs.d/org-config.el +++ b/users/glittershark/emacs.d/org-config.el @@ -155,7 +155,19 @@ (number (alist-get 'number value))) (org-set-property "pull-request" - (org-make-link-string url (number-to-string number))))))))) + (org-make-link-string + url + (format "%s/%s/%d" + (->> value + (alist-get 'base) + (alist-get 'repo) + (alist-get 'name)) + (->> value + (alist-get 'base) + (alist-get 'repo) + (alist-get 'owner) + (alist-get 'login)) + number))))))))) (advice-add #'forge--post-submit-callback |