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

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

[nongnu] elpa/git-commit bf0ef3826b: No longer exit transient while togg


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit bf0ef3826b: No longer exit transient while toggling margin or cycling styles
Date: Fri, 24 Jun 2022 16:58:27 -0400 (EDT)

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

    No longer exit transient while toggling margin or cycling styles
    
    Why we don't want to exit while cycling the style should be obvious.
    Not doing so when toggling the margin, is useful for people who do
    not have it enabled by default *and* want to use a different style,
    depending on use-case.
---
 lisp/magit-log.el    | 4 ++--
 lisp/magit-margin.el | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lisp/magit-log.el b/lisp/magit-log.el
index 77b2ce40bd..25ccc615d9 100644
--- a/lisp/magit-log.el
+++ b/lisp/magit-log.el
@@ -517,8 +517,8 @@ commits before and half after."
     ("s" "buffer and set defaults"  transient-set  :transient nil)
     ("w" "buffer and save defaults" transient-save :transient nil)]
    ["Margin"
-    ("L" "toggle visibility"        magit-toggle-margin)
-    ("l" "cycle style"              magit-cycle-margin-style)
+    ("L" "toggle visibility"        magit-toggle-margin      :transient t)
+    ("l" "cycle style"              magit-cycle-margin-style :transient t)
     ("d" "toggle details"           magit-toggle-margin-details)
     ("x" "toggle shortstat"         magit-toggle-log-margin-style)]
    [:if-mode magit-log-mode
diff --git a/lisp/magit-margin.el b/lisp/magit-margin.el
index b7e0a67c84..ef3b3806d1 100644
--- a/lisp/magit-margin.el
+++ b/lisp/magit-margin.el
@@ -62,8 +62,8 @@ does not carry to other options."
   "Change what information is displayed in the margin."
   :info-manual "(magit) Log Margin"
   ["Margin"
-   ("L" "Toggle visibility" magit-toggle-margin)
-   ("l" "Cycle style"       magit-cycle-margin-style)
+   ("L" "Toggle visibility" magit-toggle-margin      :transient t)
+   ("l" "Cycle style"       magit-cycle-margin-style :transient t)
    ("d" "Toggle details"    magit-toggle-margin-details)
    ("v" "Change verbosity"  magit-refs-set-show-commit-count
     :if-derived magit-refs-mode)])



reply via email to

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