summaryrefslogtreecommitdiff
path: root/lisp/minibuffer.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/minibuffer.el')
-rw-r--r--lisp/minibuffer.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index f468db9768a..60a70fbcce7 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -519,9 +519,10 @@ for use at QPOS."
(`(,qfullpos . ,qfun)
(funcall requote (+ boundary (length prefix)) string))
(qfullprefix (substring string 0 qfullpos))
- (_ (assert (let ((uboundarystr (substring ustring 0 boundary)))
- (equal (funcall unquote qfullprefix)
- (concat uboundarystr prefix)))))
+ (_ (assert (eq t (compare-strings
+ (funcall unquote qfullprefix) nil nil
+ (concat (substring ustring 0 boundary) prefix)
+ nil nil 'ignore-case))))
(qboundary (car (funcall requote boundary string)))
(_ (assert (<= qboundary qfullpos)))
;; FIXME: this split/quote/concat business messes up the carefully