Skip to content

Commit

Permalink
forge-topics-setup-buffer: Use forge-current-repository
Browse files Browse the repository at this point in the history
That also picks up the repository at point, which is useful in
`forge-repository-list-mode' at least.
  • Loading branch information
tarsius committed Jun 4, 2024
1 parent 5db1a1a commit 78c1b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/forge-topics.el
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Must be set before `forge-list' is loaded.")
(if-let* ((topic (forge-topic-at-point))
(repo (forge-get-repository topic)))
repo
(forge-get-repository :tracked?)))))
(forge-current-repository :tracked?)))))
(dir (or (and repo (forge-get-worktree repo)) "/"))
(buffer nil))
(unless (or repo global)
Expand Down

0 comments on commit 78c1b47

Please sign in to comment.