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

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

[nongnu] elpa/git-commit 84b6b46550 3/4: magit-file-dispatch: Only offer


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit 84b6b46550 3/4: magit-file-dispatch: Only offer magit-status-here if appropriate
Date: Tue, 23 May 2023 11:00:41 -0400 (EDT)

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

    magit-file-dispatch: Only offer magit-status-here if appropriate
---
 lisp/magit-files.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/magit-files.el b/lisp/magit-files.el
index c6103e0850..7cb392ad3e 100644
--- a/lisp/magit-files.el
+++ b/lisp/magit-files.el
@@ -330,7 +330,7 @@ to `magit-dispatch'."
     ("k" "Delete"   magit-file-delete)
     ("c" "Checkout" magit-file-checkout)]
    ["Navigate"
-    ("g" "Goto status" magit-status-here)]])
+    ("g" "Goto status" magit-status-here :if-not-mode magit-status-mode)]])
 
 ;;; Blob Mode
 



reply via email to

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