Commit 5f48fc17 authored by Karl Heuer's avatar Karl Heuer
Browse files

(isearch-mode-map): Bind frame events to nil.

parent 1c212787
......@@ -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)
))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment