aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2023-08-04 12:52:42 +0200
committerJonas Bernoulli <jonas@bernoul.li>2023-08-04 12:52:42 +0200
commitdd6ecd5fe59087b5658f0a99e1d946e7fbf2dbea (patch)
tree7fb83f15d16ccfaaf61c2de0c1cbbd69569e172d
parent70c8998cc98b5617477123c007ed3261aabcf20e (diff)
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
-rw-r--r--lisp/magit-diff.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el
index 0ae5878..1495212 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))))