Function: magit-log-maybe-show-more-commits
magit-log-maybe-show-more-commits is a byte-compiled function defined
in magit-log.el.
Signature
(magit-log-maybe-show-more-commits SECTION)
Documentation
When point is at the end of a log buffer, insert more commits.
Log buffers end with a button "Type + to show more history". When the use of a section movement command puts point on that button, then automatically show more commits, without the user having to press "+".
This function is called by magit-section-movement-hook and
exists mostly for backward compatibility reasons.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-log.el
(defun magit-log-maybe-show-more-commits (section)
"When point is at the end of a log buffer, insert more commits.
Log buffers end with a button \"Type + to show more history\".
When the use of a section movement command puts point on that
button, then automatically show more commits, without the user
having to press \"+\".
This function is called by `magit-section-movement-hook' and
exists mostly for backward compatibility reasons."
(when (and (eq (oref section type) 'longer)
magit-log-auto-more)
(magit-log-double-commit-limit)
(forward-line -1)
(magit-section-forward)))