changeset 34909:421a33797ea8

(delete-key-deletes-forward-mode): Bind backspace and delete in isearch-mode-map.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 28 Dec 2000 15:11:53 +0000
parents 85685c9b8145
children fb1262412e0e
files lisp/simple.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Thu Dec 28 13:41:26 2000 +0000
+++ b/lisp/simple.el	Thu Dec 28 15:11:53 2000 +0000
@@ -4042,8 +4042,10 @@
 		  ([C-delete] [C-backspace] kill-word backward-kill-word)
 		  ([M-delete] [M-backspace] kill-word backward-kill-word)
 		  ([C-M-delete] [C-M-backspace] kill-sexp backward-kill-sexp)
-		  (,esc-map
-		   [C-delete] [C-backspace] kill-sexp backward-kill-sexp))))
+		  (,esc-map [C-delete] [C-backspace] kill-sexp
+			    backward-kill-sexp)
+		  (,isearch-mode-map [backspace] [delete] isearch-delete-char
+				     isearch-other-control-char))))
 	   (dolist (binding bindings)
 	     (let ((map global-map))
 	       (when (keymapp (car binding))