Skip to content

Commit

Permalink
transient--goto-button: Fix returning to button at very bob
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Nov 6, 2024
1 parent 4fe05d5 commit a541b99
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lisp/transient.el
Original file line number Diff line number Diff line change
Expand Up @@ -4464,7 +4464,9 @@ See `forward-button' for information about N."
(not (found))))
(unless (found)
(goto-char (point-min))
(ignore-errors (forward-button 1)))))))
(ignore-errors (forward-button 1))
(unless (found)
(goto-char (point-min))))))))

(defun transient--heading-at-point ()
(and (eq (get-text-property (point) 'face) 'transient-heading)
Expand Down

0 comments on commit a541b99

Please sign in to comment.