diff options
Diffstat (limited to 'fnl/plugins/persistence.fnl')
-rw-r--r-- | fnl/plugins/persistence.fnl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fnl/plugins/persistence.fnl b/fnl/plugins/persistence.fnl index 6f5867c..e84ec58 100644 --- a/fnl/plugins/persistence.fnl +++ b/fnl/plugins/persistence.fnl @@ -9,17 +9,17 @@ :desc "Ignore current session"}]) (local user-cmds [[:RestoreSession - (lambda [] + (λ [] (let [persistence (require :persistence)] (persistence.load))) {:nargs 0}] [:RestoreLastSession - (lambda [] + (λ [] (let [persistence (require :persistence)] (persistence.load {:last true}))) {:nargs 0}] [:IgnoreSession - (lambda [] + (λ [] (let [persistence (require :persistence)] (persistence.stop))) {:nargs 0}]]) |