Mercurial > hg > xemacs-beta
comparison lisp/isearch-mode.el @ 4063:da6da82d7d79
[xemacs-hg @ 2007-07-16 13:34:27 by aidan]
Don't highlight in isearch when executing as a keyboard macro
author | aidan |
---|---|
date | Mon, 16 Jul 2007 13:34:27 +0000 |
parents | a25c824ed558 |
children | f00192e1cd49 308d34e9f07d |
comparison
equal
deleted
inserted
replaced
4062:aa22980554d9 | 4063:da6da82d7d79 |
---|---|
710 "Exit search normally. | 710 "Exit search normally. |
711 However, if this is the first command after starting incremental | 711 However, if this is the first command after starting incremental |
712 search and `search-nonincremental-instead' is non-nil, do a | 712 search and `search-nonincremental-instead' is non-nil, do a |
713 nonincremental search instead via `isearch-edit-string'." | 713 nonincremental search instead via `isearch-edit-string'." |
714 (interactive) | 714 (interactive) |
715 (if (and search-nonincremental-instead | 715 (if (and (or search-nonincremental-instead executing-kbd-macro) |
716 (= 0 (length isearch-string))) | 716 (= 0 (length isearch-string))) |
717 (let ((isearch-nonincremental t) | 717 (let ((isearch-nonincremental t) |
718 ;; Highlighting only gets in the way of nonincremental | 718 ;; Highlighting only gets in the way of nonincremental |
719 ;; search. | 719 ;; search. |
720 (search-highlight nil) | 720 (search-highlight nil) |