branch: elpa/git-commit commit 421105ef4f21a84d0ba222681590bfbe22203ff9 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
magit-section-goto-successor(hunk): Make fourth argument optional Even for hunks the ARG argument may be missing, see `magit-section-get-relative-position(hunk)'. --- lisp/magit-diff.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el index f405022354..444373660d 100644 --- a/lisp/magit-diff.el +++ b/lisp/magit-diff.el @@ -2878,7 +2878,7 @@ It the SECTION has a different type, then do nothing." (t t)))))))) (cl-defmethod magit-section-goto-successor ((section magit-hunk-section) - line char arg) + line char &optional arg) (or (magit-section-goto-successor--same section line char) (and-let* ((parent (magit-get-section (magit-section-ident