summaryrefslogtreecommitdiff
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2021-04-20 00:01:44 +0200
committerStefan Monnier <monnier@iro.umontreal.ca>2021-04-24 18:15:24 -0400
commit86d1b4d88f2999d2b0f94619dc53092bddfa0ec0 (patch)
tree9df3f18479d0b5805901e2686829cabc6ac026be /src/keyboard.c
parentbc026835df38cd6a4a695f18ea9ffe92ec625e65 (diff)
downloademacs-86d1b4d88f2999d2b0f94619dc53092bddfa0ec0.tar.gz
emacs-86d1b4d88f2999d2b0f94619dc53092bddfa0ec0.tar.bz2
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/keyboard.c')
0 files changed, 0 insertions, 0 deletions