diff options
author | William Carroll <wpcarro@gmail.com> | 2020-09-01T15·26+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-09-01T15·26+0100 |
commit | 75a9a156a0fab425ccc6821d38d7d20d0c2aba31 (patch) | |
tree | a17ab9db0cac258633177a9cb9f6be302fbf3610 /emacs/.emacs.d/wpc/cache.el | |
parent | 718899c629bb1b8bd05285c2e8c5a1709e8e5226 (diff) |
Redefine >> macro as >-> in >.el
I created a strangely named Elisp module, >.el, just to appease the CI gods. My gut tells me that this is a desperate idea and fails the smell test. I'm pretty eager to pass the linting phase of my Elisp CI, however, and I can always revert this.
Diffstat (limited to 'emacs/.emacs.d/wpc/cache.el')
-rw-r--r-- | emacs/.emacs.d/wpc/cache.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/wpc/cache.el b/emacs/.emacs.d/wpc/cache.el index 7cba788945d2..be2049091c6d 100644 --- a/emacs/.emacs.d/wpc/cache.el +++ b/emacs/.emacs.d/wpc/cache.el @@ -29,6 +29,7 @@ (require 'prelude) (require 'struct) +(require '>) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Library @@ -55,7 +56,7 @@ If X isn't in XS (using `equal'), insert it at the front." (struct-update cache xs - (>> (list-reject (lambda (y) (equal x y))) + (>-> (list-reject (lambda (y) (equal x y))) (list-cons x)) xs)) |