From f048e7a0042c10885ee37301464febc8c8f63e96 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 29 Jul 2024 00:43:50 +0200 Subject: Replace lambda with λ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fnl/plugins/persistence.fnl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fnl/plugins/persistence.fnl') 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}]]) -- cgit v1.2.3-70-g09d2