diff options
| author | Liu Hui | 2025-07-07 17:45:18 +0800 |
|---|---|---|
| committer | Eli Zaretskii | 2025-07-12 11:38:27 +0300 |
| commit | ae46edff68e8d5729207ed849df83ecb039e11bb (patch) | |
| tree | fe5cc59038ab5ad916e17c9bb4c192fb38097371 /java/debug.sh | |
| parent | f746762e74adeac8beaa73abcf20ee5e74298597 (diff) | |
| download | emacs-ae46edff68e8d5729207ed849df83ecb039e11bb.tar.gz emacs-ae46edff68e8d5729207ed849df83ecb039e11bb.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/debug.sh')
0 files changed, 0 insertions, 0 deletions