emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/android 4ff3904e3c2 5/5: Enable normal-erase-is-backspace on And


From: Po Lu
Subject: feature/android 4ff3904e3c2 5/5: Enable normal-erase-is-backspace on Android
Date: Fri, 24 Feb 2023 08:23:44 -0500 (EST)

branch: feature/android
commit 4ff3904e3c2767b2840624db68b5cf9db2246d3b
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    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.
---
 lisp/frame.el  | 2 +-
 lisp/simple.el | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/frame.el b/lisp/frame.el
index 3fd8dbbdc36..3e28a22d469 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -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)))))
diff --git a/lisp/simple.el b/lisp/simple.el
index 1194c368ba1..b265113048a 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]