From: Karl Heuer Date: Fri, 16 Jun 1995 06:10:21 +0000 (+0000) Subject: (isearch-mode): Use overriding-terminal-local-map, not overriding-local-map. X-Git-Tag: emacs-19.34~3594 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c79552226ebeb4e7c711e7d5b9d0c1c3fae6ac7d;p=emacs.git (isearch-mode): Use overriding-terminal-local-map, not overriding-local-map. (isearch-done): Likewise. --- 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)))