From 2caaec50e84df00736c405e4c28ce79694daa778 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 18 Jul 2019 14:31:00 +0200 Subject: [PATCH] Remove cond! Well, that was short lived, but pcase and pcase-let are superior and already available. --- core/core-lib.el | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/core-lib.el b/core/core-lib.el index 054ba5187..f698014a5 100644 --- a/core/core-lib.el +++ b/core/core-lib.el @@ -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!'."