From: Karl Heuer Date: Fri, 16 Jun 1995 22:24:42 +0000 (+0000) Subject: (isearch-mode-map): Bind frame events to nil. X-Git-Tag: emacs-19.34~3575 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5f48fc17d160ef6d4dc31c4ed282d3338f816105;p=emacs.git (isearch-mode-map): Bind frame events to nil. --- diff --git a/lisp/isearch.el b/lisp/isearch.el index 015399cffb5..300bc52296c 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -278,9 +278,14 @@ Default value, nil, means edit the string instead.") (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) ))