Enable normal-erase-is-backspace on Android
* lisp/frame.el (display-symbol-keys-p): * lisp/simple.el (normal-erase-is-backspace-setup-frame): Return appropriate values on Android.
This commit is contained in:
parent
d3e71edc71
commit
4ff3904e3c
2 changed files with 2 additions and 2 deletions
|
@ -2217,7 +2217,7 @@ frame's display)."
|
|||
This means that, for example, DISPLAY can differentiate between
|
||||
the keybinding RET and [return]."
|
||||
(let ((frame-type (framep-on-display display)))
|
||||
(or (memq frame-type '(x w32 ns pc pgtk haiku))
|
||||
(or (memq frame-type '(x w32 ns pc pgtk haiku android))
|
||||
;; MS-DOS and MS-Windows terminals have built-in support for
|
||||
;; function (symbol) keys
|
||||
(memq system-type '(ms-dos windows-nt)))))
|
||||
|
|
|
@ -10454,7 +10454,7 @@ call `normal-erase-is-backspace-mode' (which see) instead."
|
|||
(if (if (eq normal-erase-is-backspace 'maybe)
|
||||
(and (not noninteractive)
|
||||
(or (memq system-type '(ms-dos windows-nt))
|
||||
(memq window-system '(w32 ns pgtk haiku))
|
||||
(memq window-system '(w32 ns pgtk haiku android))
|
||||
(and (eq window-system 'x)
|
||||
(fboundp 'x-backspace-delete-keys-p)
|
||||
(x-backspace-delete-keys-p))
|
||||
|
|
Loading…
Add table
Reference in a new issue