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

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

[nongnu] elpa/git-commit 5e04d7917b 1/2: magit-{diff, log}-refresh: Use


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit 5e04d7917b 1/2: magit-{diff, log}-refresh: Use transient-{set, save}-and-exit
Date: Tue, 19 Sep 2023 21:59:34 -0400 (EDT)

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

    magit-{diff,log}-refresh: Use transient-{set,save}-and-exit
---
 lisp/magit-diff.el | 4 ++--
 lisp/magit-log.el  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el
index cedba6a80e..f478d0e1b0 100644
--- a/lisp/magit-diff.el
+++ b/lisp/magit-diff.el
@@ -947,8 +947,8 @@ and `:slant'."
     :if-derived magit-diff-mode)]
   [["Refresh"
     ("g" "buffer"                   magit-diff-refresh)
-    ("s" "buffer and set defaults"  transient-set  :transient nil)
-    ("w" "buffer and save defaults" transient-save :transient nil)]
+    ("s" "buffer and set defaults"  transient-set-and-exit)
+    ("w" "buffer and save defaults" transient-save-and-exit)]
    ["Toggle"
     ("t" "hunk refinement"          magit-diff-toggle-refine-hunk)
     ("F" "file filter"              magit-diff-toggle-file-filter)
diff --git a/lisp/magit-log.el b/lisp/magit-log.el
index b365bec46d..472e5088cf 100644
--- a/lisp/magit-log.el
+++ b/lisp/magit-log.el
@@ -530,8 +530,8 @@ commits before and half after."
    ("-d" "Show refnames"            "--decorate")]
   [["Refresh"
     ("g" "buffer"                   magit-log-refresh)
-    ("s" "buffer and set defaults"  transient-set  :transient nil)
-    ("w" "buffer and save defaults" transient-save :transient nil)]
+    ("s" "buffer and set defaults"  transient-set-and-exit)
+    ("w" "buffer and save defaults" transient-save-and-exit)]
    ["Margin"
     ("L" "toggle visibility"        magit-toggle-margin      :transient t)
     ("l" "cycle style"              magit-cycle-margin-style :transient t)



reply via email to

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