diff options
author | João Távora <joaotavora@gmail.com> | 2021-08-22 15:56:36 +0100 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2021-08-22 16:11:40 +0100 |
commit | ba852512f23fdab674086e35d4207e3970dd0912 (patch) | |
tree | 1b7e64bdaf5a2aa530b4e5012c1bd8d6173212d7 /src/regex-emacs.h | |
parent | 06c3a321e3cb7a7602fadf1817721a8f1b759604 (diff) | |
download | emacs-ba852512f23fdab674086e35d4207e3970dd0912.tar.gz emacs-ba852512f23fdab674086e35d4207e3970dd0912.tar.bz2 emacs-ba852512f23fdab674086e35d4207e3970dd0912.zip |
Don't mess up grouping in completion-all-sorted-completions
The default sorting order will mess up the naturally grouped order of
the candidates in the table that specified the group-function.
As seen in xref.el when
(setq xref-show-definitions-function
'xref-show-definitions-completing-read)
(setq completions-group t)
M-x fido-mode
Also partially seen with C-x 8 RET (M-x insert-char) with
(setq read-char-by-name-sort 'code)
bug#48545
* lisp/minibuffer.el (completion-all-sorted-completions): Don't
use default sort if there's a group-function in the table.
Diffstat (limited to 'src/regex-emacs.h')
0 files changed, 0 insertions, 0 deletions