diff options
| author | Richard M. Stallman | 2003-01-06 01:21:15 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-01-06 01:21:15 +0000 |
| commit | 135f293b2a0bf4fac7afd802618ccc5c84f2c5d9 (patch) | |
| tree | d87dc50f430099d27d53e6805a5f77615b7f29d0 | |
| parent | 53ade5c75e44ae7c93fd363b9c957d2e5990990d (diff) | |
| download | emacs-135f293b2a0bf4fac7afd802618ccc5c84f2c5d9.tar.gz emacs-135f293b2a0bf4fac7afd802618ccc5c84f2c5d9.zip | |
(isearch-repeat): Error if try to repeat search and there was no previou search.
| -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 b8103285aec..5b9fe461068 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -978,7 +978,7 @@ Use `isearch-exit' to quit without signaling." | |||
| 978 | (or (if isearch-regexp | 978 | (or (if isearch-regexp |
| 979 | (car regexp-search-ring) | 979 | (car regexp-search-ring) |
| 980 | (car search-ring)) | 980 | (car search-ring)) |
| 981 | "") | 981 | (error "No previous search string")) |
| 982 | isearch-message | 982 | isearch-message |
| 983 | (mapconcat 'isearch-text-char-description | 983 | (mapconcat 'isearch-text-char-description |
| 984 | isearch-string "") | 984 | isearch-string "") |