From aea5dbec2514811fb2e1cc44b2347a976a5b7de8 Mon Sep 17 00:00:00 2001 From: Yuuki Harano Date: Tue, 8 Dec 2020 21:46:26 +0900 Subject: [PATCH] Fix DEL key behavior * lisp/simple.el (normal-erase-is-backspace-setup-frame): Include pgtk in window-system group. --- lisp/simple.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/simple.el b/lisp/simple.el index d73bc6b0682..1f90db3dea3 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -9180,7 +9180,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)) + (memq window-system '(w32 ns pgtk)) (and (eq window-system 'x) (fboundp 'x-backspace-delete-keys-p) (x-backspace-delete-keys-p)) -- 2.39.5