diff options
| author | Spencer Baugh | 2024-11-18 12:26:55 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2025-04-08 14:36:30 -0400 |
| commit | 0fbba16387513e7692b46885833e4a9c218251f0 (patch) | |
| tree | 155bae04486ad518071b77aeaa2103d2ea6421fb /java/debug.sh | |
| parent | bec2de20469db0767d2bd7f60f0d4dfb20269614 (diff) | |
| download | emacs-0fbba16387513e7692b46885833e4a9c218251f0.tar.gz emacs-0fbba16387513e7692b46885833e4a9c218251f0.zip | |
Preserve an explicit * in pcm-try-completion
An explicitly typed * has different semantics from automatically
inserted PCM wildcards, so it should be preserved on try-completion. We
already do this in some cases, but now we do it more.
This is especially significant for filename completion: removing an
explicit * can take us from
~/src/emacs/trunk/*/minibuf
to
~/src/emacs/trunk//minibuf
The explicit double slash is interpreted by the file name completion
table to mean "start completing from the root directory", so deleting
the * here substantially changes semantics.
* lisp/minibuffer.el (completion-pcm--merge-completions): Don't drop
important wildcards. (bug#74420)
* test/lisp/minibuffer-tests.el (completion-pcm-test-7): Add tests.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions