diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2023-02-06 00:24:58 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2023-02-06 00:24:58 +0100 |
| commit | 62a189df85a2b8386fd13af09684fc68fe795f0d (patch) | |
| tree | 619e6a581b78cef1b640d0ad5ebe0cc201bc7b32 | |
| parent | 0648be91d1f15d4ccf31937af229d6bc9cfc52fb (diff) | |
Use cl-with-gensyms (needs new Compat)gensyms
| -rw-r--r-- | corfu.el | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -529,10 +529,7 @@ FRAME is the existing frame." (defmacro corfu--partition! (list form) "Evaluate FORM for every element and partition LIST." - (let ((head1 (make-symbol "head1")) - (head2 (make-symbol "head2")) - (tail1 (make-symbol "tail1")) - (tail2 (make-symbol "tail2"))) + (cl-with-gensyms (head1 head2 tail1 tail2) `(let* ((,head1 (cons nil nil)) (,head2 (cons nil nil)) (,tail1 ,head1) |
