rmuslimov / browse-at-remote

Browse target page on github/bitbucket from emacs buffers
232 stars 53 forks source link

Add option to define preferred remote #84

Closed floscr closed 1 year ago

floscr commented 2 years ago

Remotes are sorted alphabetically. If multiple remotes are defined (with various urls) the first remote was taken before, but this might lead to unwanted results. Now we can set browse-at-remote-preferred-remote-name, which defaults to origin (which should be the most common case).

I've added dash as a package, I hope you don't mind (but as I saw f.el and s.el I took the freedom to do so :smile_cat:)

This would also fix https://github.com/rmuslimov/browse-at-remote/issues/74

rmuslimov commented 1 year ago

Thanks @floscr, sorry for huge delay with merging this