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

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

[elpa] externals/consult 66a8e46467 1/3: Minor simplification


From: ELPA Syncer
Subject: [elpa] externals/consult 66a8e46467 1/3: Minor simplification
Date: Wed, 22 Mar 2023 08:57:38 -0400 (EDT)

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

    Minor simplification
---
 consult.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/consult.el b/consult.el
index 1ad305e8ef..31647cddb9 100644
--- a/consult.el
+++ b/consult.el
@@ -1181,8 +1181,7 @@ matches case insensitively."
       (message "Too many regexps, %S ignored. Use post-filtering!"
                (string-join (seq-drop regexps 3) " "))
       (setq regexps (seq-take regexps 3)))
-    (consult--regexp-join-permutations regexps
-                                       (and (memq type '(basic emacs)) 
"\\")))))
+    (consult--regexp-join-permutations regexps (and (eq type 'emacs) "\\")))))
 
 (defun consult--regexp-join-permutations (regexps esc)
   "Join all permutations of REGEXPS.



reply via email to

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