Skip to content

Commit

Permalink
Fix inapt demo
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Turner <[email protected]>
  • Loading branch information
josephmturner committed Oct 3, 2023
1 parent 372a412 commit c461cf9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -2025,10 +2025,10 @@ of =magit=.
["Inapt Predicates Child"
("s" "switched" tsc--wave-surely
:transient transient--do-return
:if tsc--child-scope-p)
:inapt-if tsc--child-scope-p)
("u" "unswitched" tsc--wave-normally
:transient transient--do-return
:if-not tsc--child-scope-p)]
:inapt-if-not tsc--child-scope-p)]

;; in the body, we read the value of the parent and set our scope to
;; non-nil if the switch is set
Expand Down
4 changes: 2 additions & 2 deletions transient-showcase.el
Original file line number Diff line number Diff line change
Expand Up @@ -878,10 +878,10 @@ When this is called in layouts, it's the transient being layed out"
["Inapt Predicates Child"
("s" "switched" tsc--wave-surely
:transient transient--do-return
:if tsc--child-scope-p)
:inapt-if tsc--child-scope-p)
("u" "unswitched" tsc--wave-normally
:transient transient--do-return
:if-not tsc--child-scope-p)]
:inapt-if-not tsc--child-scope-p)]

;; in the body, we read the value of the parent and set our scope to
;; non-nil if the switch is set
Expand Down

0 comments on commit c461cf9

Please sign in to comment.