From 8527897c8849b0a2b91750219a75a17a3806c8d7 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 6 Oct 2019 14:13:30 -0400 Subject: [PATCH] Remove unused delete! macro Redundant with delq! --- core/core-lib.el | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/core-lib.el b/core/core-lib.el index 254c778d7..3348ab550 100644 --- a/core/core-lib.el +++ b/core/core-lib.el @@ -199,10 +199,6 @@ If FETCHER is a function, ELT is used as the key in LIST (an alist)." elt) ,list))) -(defmacro delete! (elt list) - "Delete ELT from LIST in-place." - `(setq ,list (delete ,elt ,list))) - (defmacro add-transient-hook! (hook-or-function &rest forms) "Attaches a self-removing function to HOOK-OR-FUNCTION.