1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

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

This commit is contained in:
Karl Heuer 1995-06-16 22:24:42 +00:00
parent 1c2127876e
commit 5f48fc17d1

View File

@ -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)
))