From d3b14f2cb6740d18827ed713715908b517e4a899 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Sun, 19 May 2024 17:10:39 +0200 Subject: [PATCH] forge-current-repository: Use forge-buffer-repository --- lisp/forge-repo.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/forge-repo.el b/lisp/forge-repo.el index 3c729355..925183d9 100644 --- a/lisp/forge-repo.el +++ b/lisp/forge-repo.el @@ -300,6 +300,7 @@ nil." If there is no such repository and DEMAND is non-nil, then signal an error." (or (forge-repository-at-point) + (forge-buffer-repository) (forge-get-repository :known?) (and demand (user-error "No current repository"))))