emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/consult fd100d5 3/4: consult--add-history: Use remove i


From: ELPA Syncer
Subject: [elpa] externals/consult fd100d5 3/4: consult--add-history: Use remove instead of delete (non-destructive)
Date: Sun, 6 Jun 2021 08:57:08 -0400 (EDT)

branch: externals/consult
commit fd100d57188c40ad4f0ee3beb1b2a88395576cb8
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    consult--add-history: Use remove instead of delete (non-destructive)
---
 consult.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/consult.el b/consult.el
index b06375e..555269c 100644
--- a/consult.el
+++ b/consult.el
@@ -1603,7 +1603,7 @@ ASYNC must be non-nil for async completion functions."
                       minibuffer-default
                     (list minibuffer-default))
                   ;; then our custom items
-                  (delete "" (delq nil (if (listp items)
+                  (remove "" (remq nil (if (listp items)
                                            items
                                          (list items))))
                   ;; Add all the completions for non-async commands. For async 
commands this feature



reply via email to

[Prev in Thread] Current Thread [Next in Thread]