branch: externals/consult commit 66a8e4646757864c9f9a25275f6d98f3bdafd44a Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@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.