diff options
| author | Karl Heuer | 1995-06-16 22:24:42 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-06-16 22:24:42 +0000 |
| commit | 5f48fc17d160ef6d4dc31c4ed282d3338f816105 (patch) | |
| tree | 40d431737e3854c2820fdb329a0a16f94d57cdbf | |
| parent | 1c2127876e8dcf25061c69dc48ef6e87f9c36eb6 (diff) | |
| download | emacs-5f48fc17d160ef6d4dc31c4ed282d3338f816105.tar.gz emacs-5f48fc17d160ef6d4dc31c4ed282d3338f816105.zip | |
(isearch-mode-map): Bind frame events to nil.
| -rw-r--r-- | lisp/isearch.el | 11 |
1 files changed, 8 insertions, 3 deletions
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.") | |||
| 278 | 278 | ||
| 279 | (define-key map "\M-\t" 'isearch-complete) | 279 | (define-key map "\M-\t" 'isearch-complete) |
| 280 | 280 | ||
| 281 | ;; Switching frames should terminate isearch-mode | 281 | ;; Pass frame events transparently so they won't exit the search. |
| 282 | (define-key map [switch-frame] 'isearch-switch-frame-handler) | 282 | ;; In particular, if we have more than one display open, then a |
| 283 | 283 | ;; switch-frame might be generated by someone typing at another keyboard. | |
| 284 | (define-key map [switch-frame] nil) | ||
| 285 | (define-key map [delete-frame] nil) | ||
| 286 | (define-key map [iconify-frame] nil) | ||
| 287 | (define-key map [make-frame-visible] nil) | ||
| 288 | |||
| 284 | (setq isearch-mode-map map) | 289 | (setq isearch-mode-map map) |
| 285 | )) | 290 | )) |
| 286 | 291 | ||