diff options
| author | Spencer Baugh | 2025-05-02 14:47:37 +0200 |
|---|---|---|
| committer | Michael Albinus | 2025-05-02 14:47:37 +0200 |
| commit | d56d7ca35cf3c0185fe42bf7f64e3aa6a5281e3e (patch) | |
| tree | 25ce425d8c19fd6d5265f229119c56c0f7537b34 /src/coding.c | |
| parent | 3f8f738d1d6b583415aa5d5584299794838316ca (diff) | |
| download | emacs-d56d7ca35cf3c0185fe42bf7f64e3aa6a5281e3e.tar.gz emacs-d56d7ca35cf3c0185fe42bf7f64e3aa6a5281e3e.zip | |
Fix completion boundaries for TRAMP file names
Previously, we assumed (roughly) that substitute-in-file-name
always returns a suffix of the original string. But
substitute-in-file-name on "/ssh:user@host:/~/" returns
"/ssh:user@host:~/", preserving the TRAMP magic prefix. Weaken
the assertion in completion--sifn-boundaries to allow this; the
new assertion is more clear about the property we care about,
anyway.
* lisp/minibuffer.el (completion--sifn-boundaries): Weaken
assertion slightly.
* test/lisp/net/tramp-tests.el (tramp--test-emacs31-p)
(tramp--split-on-boundary)
(tramp-test51-file-name-completion-boundaries): Add.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions