summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2022-09-07 21:39:14 -0400
committerKyle Meyer <kyle@kyleam.com>2022-11-26 21:45:14 -0500
commit61c15b4e1fb034ecc7a7fca96ef761ce63dec73e (patch)
tree1dabfdef5da4e9cd7da9a846c4fa08a18ae87b42
parent07ca9caf5898749bf10943f474b2a8df91844759 (diff)
downloademacs.d-61c15b4e1fb034ecc7a7fca96ef761ce63dec73e.tar.gz
magit-diff: Use default reader for custom --diff-filter suffixes
This errors with Wrong type argument: keymapp, transient--history It probably should have been updated with the Transient switch. (I'm a bit surprised it took this long for me to notice because I feel like I use --diff-filter somewhat regularly, but perhaps that's from the command line.)
-rw-r--r--init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.el b/init.el
index f8e02cb..132e5db 100644
--- a/init.el
+++ b/init.el
@@ -980,9 +980,9 @@
(transient-append-suffix 'magit-diff "t"
'("e" "Edit options" magit-diff-refresh))
(transient-append-suffix 'magit-diff "-w"
- '("-d" "Diff filter" "--diff-filter=" read-from-minibuffer))
+ '("-d" "Diff filter" "--diff-filter="))
(transient-append-suffix 'magit-diff-refresh "-w"
- '("-d" "Diff filter" "--diff-filter=" read-from-minibuffer))
+ '("-d" "Diff filter" "--diff-filter="))
(transient-suffix-put 'magit-stash "Z" :key "s")