emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/git-commit 421105ef4f: magit-section-goto-successor(hunk):


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit 421105ef4f: magit-section-goto-successor(hunk): Make fourth argument optional
Date: Fri, 13 May 2022 19:58:24 -0400 (EDT)

branch: elpa/git-commit
commit 421105ef4f21a84d0ba222681590bfbe22203ff9
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]