eufon

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

commit ab32974635ceb171bb0906505265d2c85aa82626
parent b03afc5c0775197c598fb9ae8abfa373a53088fa
Author: Daniel Barlow <dan@telent.net>
Date:   Sun, 20 Mar 2022 14:25:49 +0000

remove scoped local

Diffstat:
Msaturn/main.fnl | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/saturn/main.fnl b/saturn/main.fnl @@ -170,10 +170,8 @@ (fn xdg-data-home [] "Provides XDG_DATA_HOME or its default fallback value" - (local data-home (os.getenv "XDG_DATA_HOME")) - (if data-home - data-home - (path.concat (current-user-home) ".local/share/"))) + (or (os.getenv "XDG_DATA_HOME") + (path.concat (current-user-home) ".local/share/"))) (fn xdg-data-dirs [] "Provides all data-dirs as a List. Most important first."