diff options
| author | Po Lu | 2023-07-31 10:50:12 +0800 |
|---|---|---|
| committer | Po Lu | 2023-07-31 10:50:12 +0800 |
| commit | 5a8130ab967cb296d028539d10c749ee35f62e6a (patch) | |
| tree | 65095973fc4084f628f205f99857280e6d18b83f /java/debug.sh | |
| parent | 2ad50c7ff5093e7a1d3a5a06f042430e7d46c117 (diff) | |
| download | emacs-5a8130ab967cb296d028539d10c749ee35f62e6a.tar.gz emacs-5a8130ab967cb296d028539d10c749ee35f62e6a.zip | |
Implement cross-directory SAF rename operations
* java/org/gnu/emacs/EmacsService.java (renameDocument): Don't
catch UnsupportedOperationException; handle ENOSYS in
android_saf_rename_document instead.
(moveDocument): New function.
* lisp/subr.el (y-or-n-p): Always change the text conversion
style.
* src/android.c (android_init_emacs_service)
(android_exception_check_4): New function.
* src/android.h: Update Java function table.
* src/androidvfs.c (android_saf_rename_document): Handle ENOSYS
here by setting errno to EXDEV.
(android_saf_move_document): New function.
(android_document_id_from_name): Take const `dir_name'.
(android_saf_tree_rename): Use delete-move-rename to implement
cross-directory renames.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions