Skip to content

Commit

Permalink
forge-current-repository: Use forge-buffer-repository
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed May 19, 2024
1 parent 2795d57 commit d3b14f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lisp/forge-repo.el
Original file line number Diff line number Diff line change
Expand Up @@ -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"))))

Expand Down

0 comments on commit d3b14f2

Please sign in to comment.