From e20c27c770e3245c9934d82ccf66068d0a88b495 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sun, 7 Nov 2021 04:32:20 +0100 Subject: [PATCH] Fix backspace in xwidget webkit isearch * lisp/xwidget.el: Set backspace to xwidget-webkit-isearch-erasing-char (bug#51647). --- lisp/xwidget.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/xwidget.el b/lisp/xwidget.el index 40461408952..1e169d56509 100644 --- a/lisp/xwidget.el +++ b/lisp/xwidget.el @@ -909,6 +909,7 @@ With argument, add COUNT copies of CHAR." (define-key xwidget-webkit-isearch-mode-map (kbd "DEL") 'xwidget-webkit-isearch-erasing-char) +(define-key xwidget-webkit-isearch-mode-map [backspace] 'xwidget-webkit-isearch-erasing-char) (define-key xwidget-webkit-isearch-mode-map [return] 'xwidget-webkit-isearch-exit) (define-key xwidget-webkit-isearch-mode-map "\r" 'xwidget-webkit-isearch-exit) (define-key xwidget-webkit-isearch-mode-map "\C-g" 'xwidget-webkit-isearch-exit) -- 2.39.5