diff options
| author | Stefan Monnier | 2012-05-03 15:54:07 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-05-03 15:54:07 -0400 |
| commit | f7ae6719123ad5f4f505290621810318d9ee5484 (patch) | |
| tree | 6103db06c3614bb4a618bc3ef27faab4c5d071b8 | |
| parent | 470864957479aac7eaef9958974909fb34c83e24 (diff) | |
| download | emacs-f7ae6719123ad5f4f505290621810318d9ee5484.tar.gz emacs-f7ae6719123ad5f4f505290621810318d9ee5484.zip | |
* minibuffer.el (completion--twq-all): Beware completion-ignore-case.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/minibuffer.el | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 96273f72ece..b75a6606779 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * minibuffer.el (completion--twq-all): Beware completion-ignore-case. | ||
| 4 | |||
| 1 | 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org> | 5 | 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org> |
| 2 | 6 | ||
| 3 | * progmodes/verilog-mode.el (font-lock-keywords): | 7 | * progmodes/verilog-mode.el (font-lock-keywords): |
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 1d459b0db62..f468db9768a 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el | |||
| @@ -546,16 +546,19 @@ for use at QPOS." | |||
| 546 | ;; which only get quoted when needed by choose-completion. | 546 | ;; which only get quoted when needed by choose-completion. |
| 547 | (nconc | 547 | (nconc |
| 548 | (mapcar (lambda (completion) | 548 | (mapcar (lambda (completion) |
| 549 | (assert (string-prefix-p prefix completion)) | 549 | (assert (string-prefix-p prefix completion 'ignore-case) t) |
| 550 | (let* ((new (substring completion (length prefix))) | 550 | (let* ((new (substring completion (length prefix))) |
| 551 | (qnew (funcall qfun new)) | 551 | (qnew (funcall qfun new)) |
| 552 | (qcompletion (concat qprefix qnew))) | 552 | (qcompletion (concat qprefix qnew))) |
| 553 | (assert | 553 | (assert |
| 554 | (equal (funcall unquote | 554 | (eq t (compare-strings |
| 555 | (funcall unquote | ||
| 555 | (concat (substring string 0 qboundary) | 556 | (concat (substring string 0 qboundary) |
| 556 | qcompletion)) | 557 | qcompletion)) |
| 558 | nil nil | ||
| 557 | (concat (substring ustring 0 boundary) | 559 | (concat (substring ustring 0 boundary) |
| 558 | completion))) | 560 | completion) |
| 561 | nil nil 'ignore-case))) | ||
| 559 | qcompletion)) | 562 | qcompletion)) |
| 560 | completions) | 563 | completions) |
| 561 | qboundary)))) | 564 | qboundary)))) |