summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-06-16 06:10:21 +0000
committerKarl Heuer <kwzh@gnu.org>1995-06-16 06:10:21 +0000
commit7387b59a59aced61414ff089c68d1c8770af2907 (patch)
tree1fed6c6aca13f9216d117b52aa65c94f9b568b6d /lisp/isearch.el
parent5da400ed2a5d3e44201a700c5b1b981842d90934 (diff)
downloademacs-7387b59a59aced61414ff089c68d1c8770af2907.tar.gz
(isearch-mode): Use overriding-terminal-local-map, not overriding-local-map.
(isearch-done): Likewise.
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index c14a6d0ce49..015399cffb5 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -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)))