From: Richard M. Stallman Date: Mon, 6 Jan 2003 01:21:15 +0000 (+0000) Subject: (isearch-repeat): Error if try to repeat search and there was no previou search. X-Git-Tag: ttn-vms-21-2-B4~11815 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=135f293b2a0bf4fac7afd802618ccc5c84f2c5d9;p=emacs.git (isearch-repeat): Error if try to repeat search and there was no previou search. --- diff --git a/lisp/isearch.el b/lisp/isearch.el index b8103285aec..5b9fe461068 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -978,7 +978,7 @@ Use `isearch-exit' to quit without signaling." (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 "")