]> git.eshelyaron.com Git - emacs.git/commitdiff
* minibuffer.el (completion--twq-all): Beware completion-ignore-case.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 3 May 2012 19:54:07 +0000 (15:54 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 3 May 2012 19:54:07 +0000 (15:54 -0400)
lisp/ChangeLog
lisp/minibuffer.el

index 96273f72ece32fedcde58ef36f1a198b515c5269..b75a6606779011f28497091aeec7de36fce44b69 100644 (file)
@@ -1,3 +1,7 @@
+2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
+
 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
 
        * progmodes/verilog-mode.el (font-lock-keywords):
index 1d459b0db62f556ef3a653eb4c5db720397010d8..f468db9768a9df45ce88697d46a64dada89fcb35 100644 (file)
@@ -546,16 +546,19 @@ for use at QPOS."
       ;; which only get quoted when needed by choose-completion.
       (nconc
        (mapcar (lambda (completion)
-                 (assert (string-prefix-p prefix completion))
+                 (assert (string-prefix-p prefix completion 'ignore-case) t)
                  (let* ((new (substring completion (length prefix)))
                         (qnew (funcall qfun new))
                         (qcompletion (concat qprefix qnew)))
                    (assert
-                    (equal (funcall unquote
+                    (eq t (compare-strings
+                           (funcall unquote
                                     (concat (substring string 0 qboundary)
                                             qcompletion))
+                           nil nil
                            (concat (substring ustring 0 boundary)
-                                   completion)))
+                                   completion)
+                           nil nil 'ignore-case)))
                    qcompletion))
                completions)
        qboundary))))