Commit c7955222 authored by Karl Heuer's avatar Karl Heuer
Browse files

(isearch-mode): Use overriding-terminal-local-map, not overriding-local-map.

(isearch-done): Likewise.
parent 217258d5
......@@ -500,8 +500,7 @@ is treated as a regexp. See \\[isearch-forward] for more info."
(isearch-push-state)
(make-local-variable 'overriding-local-map)
(setq overriding-local-map isearch-mode-map)
(setq overriding-terminal-local-map isearch-mode-map)
(isearch-update)
(run-hooks 'isearch-mode-hook)
......@@ -559,7 +558,7 @@ is treated as a regexp. See \\[isearch-forward] for more info."
(setq mouse-leave-buffer-hook nil)
;; Called by all commands that terminate isearch-mode.
;; If NOPUSH is non-nil, we don't push the string on the search ring.
(setq overriding-local-map nil)
(setq overriding-terminal-local-map nil)
;; (setq pre-command-hook isearch-old-pre-command-hook) ; for lemacs
(isearch-dehighlight t)
(let ((found-start (window-start (selected-window)))
......
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