From: Po Lu Date: Sun, 7 Nov 2021 03:32:20 +0000 (+0100) Subject: Fix backspace in xwidget webkit isearch X-Git-Tag: emacs-29.0.90~3671^2~117 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e20c27c770e3245c9934d82ccf66068d0a88b495;p=emacs.git Fix backspace in xwidget webkit isearch * lisp/xwidget.el: Set backspace to xwidget-webkit-isearch-erasing-char (bug#51647). --- 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)