summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/cl-preloaded-tests.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2021-05-11 09:08:05 +0200
committerJuri Linkov <juri@linkov.net>2021-05-20 20:50:35 +0300
commitcb8b994217ed958ae6d5076ab1747ea6fb43a8dc (patch)
tree844bd373ab2ac46c1fd3b5ab8488364802d3ffba /test/lisp/emacs-lisp/cl-preloaded-tests.el
parent836d69bc60b3be349c658e9cc78f60d7e7730fd9 (diff)
downloademacs-cb8b994217ed958ae6d5076ab1747ea6fb43a8dc.tar.gz
emacs-cb8b994217ed958ae6d5076ab1747ea6fb43a8dc.tar.bz2
emacs-cb8b994217ed958ae6d5076ab1747ea6fb43a8dc.zip
(minibuffer-completion-help): Add group sorting
Sort the groups as returned by the `group-function` of the completion table depending on the value of the customizable variable `completions-group-sort`. By default `completions-group-sort` is set to nil. The variable can be set to the symbol `alphabetical` in order to configure alphabetical sorting. Furthermore, a custom sorting function can be used as value of `completions-group-sort`. * lisp/minibuffer.el (completions-group-sort): New variable. (minibuffer--group-by): Add SORT-FUN argument. (minibuffer-completion-help): Pass `completions-group-sort` to `minibuffer--group-by`.
Diffstat (limited to 'test/lisp/emacs-lisp/cl-preloaded-tests.el')
0 files changed, 0 insertions, 0 deletions