diff options
| author | Stefan Monnier | 2012-05-11 13:11:03 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-05-11 13:11:03 -0400 |
| commit | dbacb4bd91bc53a168dea2c4d0bf2c90a301e4dd (patch) | |
| tree | 9aefa73ba3f389bb0b4adf2e7c65680dfd4dfd75 | |
| parent | 13bdd94c38a54955327db0d432971c18392f60f9 (diff) | |
| download | emacs-dbacb4bd91bc53a168dea2c4d0bf2c90a301e4dd.tar.gz emacs-dbacb4bd91bc53a168dea2c4d0bf2c90a301e4dd.zip | |
* lisp/minibuffer.el (completion--twq-all): Again, allow case differences.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/minibuffer.el | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 246906df9f9..f54e2da78f1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * minibuffer.el (completion--twq-all): Again, allow case differences. | ||
| 4 | |||
| 3 | * term.el: Move keymap initialization code to be more idiomatic. | 5 | * term.el: Move keymap initialization code to be more idiomatic. |
| 4 | (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map) | 6 | (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map) |
| 5 | (term-terminal-menu): Move initialization into declaration. | 7 | (term-terminal-menu): Move initialization into declaration. |
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." | |||
| 519 | (`(,qfullpos . ,qfun) | 519 | (`(,qfullpos . ,qfun) |
| 520 | (funcall requote (+ boundary (length prefix)) string)) | 520 | (funcall requote (+ boundary (length prefix)) string)) |
| 521 | (qfullprefix (substring string 0 qfullpos)) | 521 | (qfullprefix (substring string 0 qfullpos)) |
| 522 | (_ (assert (let ((uboundarystr (substring ustring 0 boundary))) | 522 | (_ (assert (eq t (compare-strings |
| 523 | (equal (funcall unquote qfullprefix) | 523 | (funcall unquote qfullprefix) nil nil |
| 524 | (concat uboundarystr prefix))))) | 524 | (concat (substring ustring 0 boundary) prefix) |
| 525 | nil nil 'ignore-case)))) | ||
| 525 | (qboundary (car (funcall requote boundary string))) | 526 | (qboundary (car (funcall requote boundary string))) |
| 526 | (_ (assert (<= qboundary qfullpos))) | 527 | (_ (assert (<= qboundary qfullpos))) |
| 527 | ;; FIXME: this split/quote/concat business messes up the carefully | 528 | ;; FIXME: this split/quote/concat business messes up the carefully |