Skip to content

Commit

Permalink
forge-current-topic: Update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Jun 4, 2024
1 parent 66fef31 commit 5db1a1a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lisp/forge-topic.el
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,7 @@ an error."
(defun forge-topic-at-point (&optional demand)
"Return the topic at point.
If there is no such topic and DEMAND is non-nil, then signal
an error. If NOT-THINGATPT is non-nil, then don't use
`thing-at-point'."
an error."
(or (thing-at-point 'forge-topic)
(magit-section-value-if '(issue pullreq))
(forge-get-pullreq :branch)
Expand Down

0 comments on commit 5db1a1a

Please sign in to comment.