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

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

[nongnu] elpa/git-commit dd6ecd5fe5 2/2: magit-jump-to-diffstat-or-diff:


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit dd6ecd5fe5 2/2: magit-jump-to-diffstat-or-diff: Restore dropped interactive
Date: Fri, 4 Aug 2023 07:00:09 -0400 (EDT)

branch: elpa/git-commit
commit dd6ecd5fe59087b5658f0a99e1d946e7fbf2dbea
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    magit-jump-to-diffstat-or-diff: Restore dropped interactive
    
    `interactive' was accidentally removed in [1: e8152c76bf].
    
    Closes #4975.
    
    1: 2023-07-31 e8152c76bf636805c0eb9027083d0ff10d28d1a8
       Use if-let instead of --if-let
---
 lisp/magit-diff.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el
index 0ae58781e2..14952123f4 100644
--- a/lisp/magit-diff.el
+++ b/lisp/magit-diff.el
@@ -2176,6 +2176,7 @@ keymap is the parent of their keymaps."
 When point is on a file inside the diffstat section, then jump
 to the respective diff section, otherwise jump to the diffstat
 section or a child thereof."
+  (interactive)
   (if-let ((section (magit-get-section
                      (append (magit-section-case
                                ([file diffstat] `((file . ,(oref it value))))



reply via email to

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