diff options
| author | Liu Hui | 2025-07-08 18:01:51 +0800 |
|---|---|---|
| committer | Eli Zaretskii | 2025-07-12 11:48:52 +0300 |
| commit | e0270c563a7fa04601860552962087a7d7d044b7 (patch) | |
| tree | 89896aead9b4340feb2fe596512e109d63458b47 /java | |
| parent | c6ce81c15d6e26d36b9cb8aa366d7aaf2e4eb805 (diff) | |
| download | emacs-e0270c563a7fa04601860552962087a7d7d044b7.tar.gz emacs-e0270c563a7fa04601860552962087a7d7d044b7.zip | |
Add option 'ffap-prefer-remote-file' (bug#78925)
This option only affects absolute filenames that are found by
ffap-file-at-point in buffers with remote default directory.
The handling of relative filenames in above buffers remains
unchanged: ffap-file-at-point returns the relative filename,
which can be converted to a remote absolute filename by
subsequent callers (e.g. ffap) using expand-file-name.
* lisp/ffap.el (ffap-prefer-remote-file): New user option.
(ffap-file-exists-string): Add an optional argument to allow the
check of existence of absolute filename on the remote host.
(ffap-file-at-point): Always find remote files in remote context
if the new option is non-nil.
* test/lisp/ffap-tests.el (ffap-test-remote): Add a test.
* etc/NEWS: Announce the change.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions