mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Merge pull request #248 from UndeadKernel/fix-git-link
When calling +vcs-root, load git-link first.
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user