sshaw / git-link

Emacs package to get the GitHub/Bitbucket/GitLab/... URL for a buffer location
399 stars 74 forks source link

How to call git-link from another interactive function? #118

Open ldeck opened 8 months ago

ldeck commented 8 months ago

The git-link interactive function requires 3 params is seems which works somehow when calling M-x git-link.

How do you correctly call git-link from another interactive function in order to use the resulting url?

sshaw commented 8 months ago

This is an ongoing issue. There is not a correct way to do it, see #38, #69 I suppose you can say (call-interactively 'git-link) but in general this has problems outside of the problems mentioned in #38 and #69.