Function: majutsu-goto-next-changeset

majutsu-goto-next-changeset is an interactive and natively compiled function defined in majutsu-log.el.

Signature

(majutsu-goto-next-changeset)

Documentation

Navigate to the next changeset in the log.

Key Bindings

majutsu-log-mode-map n

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-log.el
;;;###autoload
(defun majutsu-goto-next-changeset ()
  "Navigate to the next changeset in the log."
  (interactive)
  (let ((pos (point))
        found)
    (while (and (not found)
                (< (point) (point-max)))
      (magit-section-forward)
      (when-let* ((section (magit-current-section)))
        (when (and (magit-section-match 'jj-commit section)
                   (> (point) pos))
          (setq found t))))
    (unless found
      (goto-char pos)
      (message "No more changesets"))))