dunlin

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 261093069039bc41981a392df10121fbe24dba4c
parent 8d871b20b8af79d380a55e7c2f2e79eb5314d6aa
Author: Daniel Barlow <dan@telent.net>
Date:   Fri, 23 Dec 2022 19:52:40 +0000

mark command.reset-state as private (except for tests)

Diffstat:
Mcommand.fnl | 4+++-
Mtest/command.fnl | 2+-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/command.fnl b/command.fnl @@ -152,7 +152,9 @@ : active? : define-command : on-input - : reset-state : invoke-interactively : widget + :_ { + : reset-state + } } diff --git a/test/command.fnl b/test/command.fnl @@ -3,7 +3,7 @@ (local Command (require :command)) (var happened false) -(fn before [] (set happened false) (Command.reset-state)) +(fn before [] (set happened false) (Command._.reset-state)) (Command.define-command "no-args-command" #(set happened true) [])