Remove cond!
Well, that was short lived, but pcase and pcase-let are superior and already available.
This commit is contained in:
parent
553cd8db09
commit
2caaec50e8
1 changed files with 0 additions and 7 deletions
|
@ -181,13 +181,6 @@ The order VALUES is preserved."
|
|||
elt)
|
||||
,list)))
|
||||
|
||||
(defmacro cond! (&rest clauses)
|
||||
"An anaphoric `cond', which stores the conditional value in `it'."
|
||||
`(let (it)
|
||||
(cond ,@(cl-loop for (cond . body) in clauses
|
||||
collect `((setq it ,cond)
|
||||
,@body)))))
|
||||
|
||||
(defmacro defer-until! (condition &rest body)
|
||||
"Run BODY when CONDITION is true (checks on `after-load-functions'). Meant to
|
||||
serve as a predicated alternative to `after!'."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue