# HG changeset patch # User aidan # Date 1184592867 0 # Node ID da6da82d7d7907899eea571b38ca6ccc52720746 # Parent aa22980554d9c86731b99fccc20231883bd8960a [xemacs-hg @ 2007-07-16 13:34:27 by aidan] Don't highlight in isearch when executing as a keyboard macro diff -r aa22980554d9 -r da6da82d7d79 lisp/isearch-mode.el --- a/lisp/isearch-mode.el Mon Jul 16 12:26:03 2007 +0000 +++ b/lisp/isearch-mode.el Mon Jul 16 13:34:27 2007 +0000 @@ -712,7 +712,7 @@ search and `search-nonincremental-instead' is non-nil, do a nonincremental search instead via `isearch-edit-string'." (interactive) - (if (and search-nonincremental-instead + (if (and (or search-nonincremental-instead executing-kbd-macro) (= 0 (length isearch-string))) (let ((isearch-nonincremental t) ;; Highlighting only gets in the way of nonincremental