When calling +vcs-root, load git-link first.
This commit is contained in:
parent
801a3dc95a
commit
771199e904
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
;;;###autoload
|
||||
(defun +vcs-root ()
|
||||
"Get git url root."
|
||||
(require 'git-link)
|
||||
(let ((remote (git-link--select-remote)))
|
||||
(if (git-link--remote-host remote)
|
||||
(format "https://%s/%s"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue