File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -498,7 +498,7 @@ The predicate PRED is used to constrain the entries in TABLE."
498
498
(prefix (substring string 0 limit))
499
499
(pattern (substring string limit))
500
500
(`(, fun . , regexps ) (orderless-compile pattern)))
501
- (list prefix regexps (orderless--ignore-case-p regexps )
501
+ (list prefix regexps (orderless--ignore-case-p pattern )
502
502
(orderless--predicate-normalized-and pred fun))))
503
503
504
504
; ; Thanks to @jakanakaevangeli for writing a version of this function:
@@ -519,7 +519,7 @@ then return (cons REGEXP u); else return nil."
519
519
(defun orderless--ignore-case-p (regexps )
520
520
" Return non-nil if case should be ignored for REGEXPS."
521
521
(if orderless-smart-case
522
- (cl-loop for regexp in regexps
522
+ (cl-loop for regexp in (ensure-list regexps)
523
523
always (isearch-no-upper-case-p regexp t ))
524
524
completion-ignore-case))
525
525
You can’t perform that action at this time.
0 commit comments