changeset 5649:016c15cf28a7

(isearch-highlight): Do nothing if not window-system.
author Richard M. Stallman <rms@gnu.org>
date Fri, 21 Jan 1994 04:19:19 +0000
parents bd8a172bf8a0
children 1476768ef7fc
files lisp/isearch.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/isearch.el	Fri Jan 21 00:09:47 1994 +0000
+++ b/lisp/isearch.el	Fri Jan 21 04:19:19 1994 +0000
@@ -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 @@
 (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))