# HG changeset patch # User Richard M. Stallman # Date 759125959 0 # Node ID 016c15cf28a7f1587c4cbfa41e495a64b2656946 # Parent bd8a172bf8a0740469b3654bac9b1fc14a954174 (isearch-highlight): Do nothing if not window-system. diff -r bd8a172bf8a0 -r 016c15cf28a7 lisp/isearch.el --- 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 -;; |$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))