branch: elpa/magit
commit 791531f1c19db8df2bc41dc9eee61fe9e75ac54a
Author: Martin Joerg <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
magit-log: Fix check whether magit-wip-mode is enabled
magit-wip-mode is a minor mode, for which transient's if-mode predicate
cannot
be used.
---
lisp/magit-log.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/magit-log.el b/lisp/magit-log.el
index c6bcdd9390c..c2345d267c2 100644
--- a/lisp/magit-log.el
+++ b/lisp/magit-log.el
@@ -535,7 +535,7 @@ commits before and half after."
("r" "current" magit-reflog-current)
("O" "other" magit-reflog-other)
("H" "HEAD" magit-reflog-head)]
- [:if-mode magit-wip-mode
+ [:if-non-nil magit-wip-mode
:description "Wiplog"
("i" "index" magit-wip-log-index)
("w" "worktree" magit-wip-log-worktree)]