summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-01-21 04:19:19 +0000
committerRichard M. Stallman <rms@gnu.org>1994-01-21 04:19:19 +0000
commitf5f6a944dca089fef3039c410ba77def602c3742 (patch)
tree695d0870116aae1e766a2b24df3bf3f3e0d48aaa /lisp/isearch.el
parent7a8e3e302475ca29a3a86f473efd7c3dd0e37cfa (diff)
downloademacs-f5f6a944dca089fef3039c410ba77def602c3742.tar.gz
(isearch-highlight): Do nothing if not window-system.
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 11f829c3af5..c124942ee69 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -4,7 +4,7 @@
;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu>
-;; |$Date: 1994/01/16 23:40:50 $|$Revision: 1.62 $
+;; |$Date: 1994/01/19 18:45:34 $|$Revision: 1.63 $
;; This file is part of GNU Emacs.
@@ -1360,7 +1360,7 @@ If there is no completion possible, say so and continue searching."
(defvar isearch-overlay nil)
(defun isearch-highlight (beg end)
- (if (null search-highlight)
+ (if (or (null search-highlight) (null window-system))
nil
(or isearch-overlay (setq isearch-overlay (make-overlay beg end)))
(move-overlay isearch-overlay beg end (current-buffer))