changeset 12265:1d2296cfa1e3

(isearch-mode): Use overriding-terminal-local-map, not overriding-local-map. (isearch-done): Likewise.
author Karl Heuer <kwzh@gnu.org>
date Fri, 16 Jun 1995 06:10:21 +0000
parents 93010bff5b56
children bdc0826013e0
files lisp/isearch.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/isearch.el	Fri Jun 16 05:42:42 1995 +0000
+++ b/lisp/isearch.el	Fri Jun 16 06:10:21 1995 +0000
@@ -500,8 +500,7 @@
 
   (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 @@
   (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)))