]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix backspace in xwidget webkit isearch
authorPo Lu <luangruo@yahoo.com>
Sun, 7 Nov 2021 03:32:20 +0000 (04:32 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 7 Nov 2021 03:32:20 +0000 (04:32 +0100)
* lisp/xwidget.el: Set backspace to
xwidget-webkit-isearch-erasing-char (bug#51647).

lisp/xwidget.el

index 40461408952f8030b82db8dcdeedab6001e901de..1e169d565093ae1077b8052d18a10c9bd9806d67 100644 (file)
@@ -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)