]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix DEL key behavior
authorYuuki Harano <masm+github@masm11.me>
Tue, 8 Dec 2020 12:46:26 +0000 (21:46 +0900)
committerYuuki Harano <masm+github@masm11.me>
Tue, 8 Dec 2020 12:46:26 +0000 (21:46 +0900)
* lisp/simple.el (normal-erase-is-backspace-setup-frame): Include pgtk
in window-system group.

lisp/simple.el

index d73bc6b0682fea2071f9115f4dbaacc76b4180c7..1f90db3dea351f23df3a21fe82dab77650985e9e 100644 (file)
@@ -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))