From c4b325fa4b3467ae0c85c869408949d7be6a2d69 Mon Sep 17 00:00:00 2001 From: Huy Duong Date: Mon, 3 Jun 2019 16:59:03 +0700 Subject: [PATCH] Fix magit-clone error magit-clone function has changed signature to work with transient. So using the new magit-clone-regular instead. Signed-off-by: Huy Duong --- modules/tools/magit/autoload.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/tools/magit/autoload.el b/modules/tools/magit/autoload.el index 7903ea9bf..441548dc0 100644 --- a/modules/tools/magit/autoload.el +++ b/modules/tools/magit/autoload.el @@ -113,14 +113,15 @@ control in buffers." "Destination: " magit-clone-default-directory name nil name))))) - (magit-clone + (magit-clone-regular (cond ((string-match-p "^[^/]+$" url-or-repo) (require 'ghub) (format +magit-default-clone-url (ghub--username (ghub--host)) url-or-repo)) ((string-match-p "^\\([^/]+\\)/\\([^/]+\\)/?$" url-or-repo) (apply #'format +magit-default-clone-url (split-string url-or-repo "/" t))) (url-or-repo)) - dir)) + dir + nil)) ;;