1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

Fix typos in Android port

* lisp/bindings.el (global-map): Bind cut, copy and paste.
* src/androidterm.c (JNICALL): Use key.
This commit is contained in:
Po Lu 2023-06-03 15:08:05 +08:00
parent c308accc6d
commit a4bf3ad958
2 changed files with 6 additions and 4 deletions

View file

@ -1202,6 +1202,10 @@ if `inhibit-field-text-motion' is non-nil."
(define-key global-map [insertchar] 'overwrite-mode)
(define-key global-map [C-insertchar] 'kill-ring-save)
(define-key global-map [S-insertchar] 'yank)
;; The next three keys are used on MS Windows and Android.
(define-key global-map [copy] 'kill-ring-save)
(define-key global-map [paste] 'yank)
(define-key global-map [cut] 'kill-region)
(define-key global-map [undo] 'undo)
(define-key global-map [redo] 'repeat-complex-command)
(define-key global-map [again] 'repeat-complex-command) ; Sun keyboard