diff options
author | Richard M. Stallman <[email protected]> | 2003-01-06 01:21:15 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 2003-01-06 01:21:15 +0000 |
commit | 135f293b2a0bf4fac7afd802618ccc5c84f2c5d9 (patch) | |
tree | d87dc50f430099d27d53e6805a5f77615b7f29d0 /lisp/isearch.el | |
parent | 53ade5c75e44ae7c93fd363b9c957d2e5990990d (diff) |
(isearch-repeat): Error if try to repeat search and there was no previou search.
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r-- | lisp/isearch.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index b8103285ae..5b9fe46106 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 "") |