diff options
| author | Spencer Baugh | 2024-08-02 12:15:58 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2024-08-15 10:41:35 +0300 |
| commit | 7b60a2532895ebda2db2798767cbaff049032edb (patch) | |
| tree | 3ce4b0aa0004e1b9fb508638ca3a367d41811c88 /src | |
| parent | 62067d2ae7563352cae4eedd4b784fc0ffcd78a3 (diff) | |
| download | emacs-7b60a2532895ebda2db2798767cbaff049032edb.tar.gz emacs-7b60a2532895ebda2db2798767cbaff049032edb.zip | |
Fix 'partial-completion' for candidates containing newlines
'partial-completion' tries to match a pattern containing wildcards
(such as `any' or `prefix') against completion candidates.
Wildcards are supposed to match any sequence of characters, but
'completion-pcm--pattern->regex' transformed the wildcards into
".*", which won't match sequences containing newlines. Fix this to
properly match anything by using "[^z-a]*" instead.
(That's (rx (* anything)).)
* lisp/minibuffer.el (completion-pcm--pattern->regex): Fix
regex. (Bug#72425)
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions