]> git.eshelyaron.com Git - emacs.git/commitdiff
(isearch-mode): Use overriding-terminal-local-map, not overriding-local-map.
authorKarl Heuer <kwzh@gnu.org>
Fri, 16 Jun 1995 06:10:21 +0000 (06:10 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 16 Jun 1995 06:10:21 +0000 (06:10 +0000)
(isearch-done): Likewise.

lisp/isearch.el

index c14a6d0ce492534a5e8f5f353597b86c3b7a94c5..015399cffb53a45da45acf1856c9ed5ce5f13a66 100644 (file)
@@ -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)))