diff options
author | William Carroll <wpcarro@gmail.com> | 2020-08-31T22·28+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-08-31T22·33+0100 |
commit | a638e15c0dd14a25e6f032b08de5ee1575677497 (patch) | |
tree | 3c4bdda33fc80a52242c7016c11be4e981d7d2ac /emacs/.emacs.d/wpc/scope.el | |
parent | 158f810981fa0a77de76f0f7e07b60482a9ba10e (diff) |
Lint string, macros.el
More of the same type of linting... basically preferring `namespace-` instead of `namespace/`.
Diffstat (limited to 'emacs/.emacs.d/wpc/scope.el')
-rw-r--r-- | emacs/.emacs.d/wpc/scope.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/.emacs.d/wpc/scope.el b/emacs/.emacs.d/wpc/scope.el index 48aa85ad0e5d..14924e33ff55 100644 --- a/emacs/.emacs.d/wpc/scope.el +++ b/emacs/.emacs.d/wpc/scope.el @@ -37,7 +37,7 @@ The newest bindings eclipse the oldest." (defun scope/push-new (xs) "Push a new, empty scope onto XS." - (struct/update scope + (struct-update scope scopes (>> (stack/push (alist/new))) xs)) @@ -65,7 +65,7 @@ The newest bindings eclipse the oldest." (defun scope/set (k v xs) "Set value, V, at key, K, in XS for the current scope." - (struct/update scope + (struct-update scope scopes (>> (stack/map-top (>> (alist/set k v)))) xs)) |