# HG changeset patch # User Richard M. Stallman # Date 1041816075 0 # Node ID 50db4854d2eb9fe02fa0add5df726337786d1a52 # Parent a6b76c097634fe7bd97506628e896707b508f616 (isearch-repeat): Error if try to repeat search and there was no previou search. diff -r a6b76c097634 -r 50db4854d2eb lisp/isearch.el --- a/lisp/isearch.el Mon Jan 06 01:20:35 2003 +0000 +++ b/lisp/isearch.el Mon Jan 06 01:21:15 2003 +0000 @@ -978,7 +978,7 @@ (or (if isearch-regexp (car regexp-search-ring) (car search-ring)) - "") + (error "No previous search string")) isearch-message (mapconcat 'isearch-text-char-description isearch-string "")