diff options
| author | Spencer Baugh | 2025-04-14 16:01:38 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2025-04-28 14:00:27 -0400 |
| commit | 509cbe1c35b3dd005a53ac041f9c87ee53b8e115 (patch) | |
| tree | 12e824da1a452df4ad27e9ff59ab9f45b8e7b8ad /lib/diffseq.h | |
| parent | 21e340494a5a832453999d3853839db5d8a4d865 (diff) | |
| download | emacs-509cbe1c35b3dd005a53ac041f9c87ee53b8e115.tar.gz emacs-509cbe1c35b3dd005a53ac041f9c87ee53b8e115.zip | |
Improve env var handling in read-file-name
Fix various bugs, including bug#77718, by rewriting the way file
name completion handles environment variable expansion. Instead
of using completion-table-with-quoting to manipulate the string
being completed on, simply make the completion table itself
understand substitute-in-file-name.
Tests are updated: partial-completion now preserves unexpanded
environment variables. However, partial-completion no longer
works across environment variables containing delimiters; that's
an acceptable sacrifice.
* lisp/minibuffer.el (completion--sifn-boundaries): Add.
(completion--file-name-table): Rewrite to use
substitute-in-file-name explicitly. (bug#77718)
* test/lisp/minibuffer-tests.el (completion-table-test-quoting):
Update.
Diffstat (limited to 'lib/diffseq.h')
0 files changed, 0 insertions, 0 deletions