changeset 12284:07a76f045154

(isearch-mode-map): Bind frame events to nil.
author Karl Heuer <kwzh@gnu.org>
date Fri, 16 Jun 1995 22:24:42 +0000
parents fd9043d15414
children 1aad1cc93e3f
files lisp/isearch.el
diffstat 1 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/isearch.el	Fri Jun 16 22:19:27 1995 +0000
+++ b/lisp/isearch.el	Fri Jun 16 22:24:42 1995 +0000
@@ -278,9 +278,14 @@
 
       (define-key map "\M-\t" 'isearch-complete)
 
-      ;; Switching frames should terminate isearch-mode
-      (define-key map [switch-frame] 'isearch-switch-frame-handler)
-      
+      ;; Pass frame events transparently so they won't exit the search.
+      ;; In particular, if we have more than one display open, then a
+      ;; switch-frame might be generated by someone typing at another keyboard.
+      (define-key map [switch-frame] nil)
+      (define-key map [delete-frame] nil)
+      (define-key map [iconify-frame] nil)
+      (define-key map [make-frame-visible] nil)
+
       (setq isearch-mode-map map)
       ))