diff options
| author | Daniel Mendler | 2021-04-20 00:01:44 +0200 |
|---|---|---|
| committer | Stefan Monnier | 2021-04-24 18:15:24 -0400 |
| commit | 86d1b4d88f2999d2b0f94619dc53092bddfa0ec0 (patch) | |
| tree | 9df3f18479d0b5805901e2686829cabc6ac026be /src/coding.c | |
| parent | bc026835df38cd6a4a695f18ea9ffe92ec625e65 (diff) | |
| download | emacs-86d1b4d88f2999d2b0f94619dc53092bddfa0ec0.tar.gz emacs-86d1b4d88f2999d2b0f94619dc53092bddfa0ec0.zip | |
(completion-all-sorted-completions): Fix history use with boundaries
Preprocess the history (and the default) through the new function
`minibuffer--sort-preprocess-history` to filter out the completion
base for completion tables with boundaries (in particular the file
completion table).
* lisp/minibuffer.el (minibuffer--sort-preprocess-history_: New function.
(completion-all-sorted-completions): Use it.
* test/lisp/minibuffer-tests.el (completion-all-sorted-completions):
Add tests for various combinations of with/without history/base/default.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions