diff options
| author | Noam Postavsky | 2017-04-01 09:34:04 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2017-04-03 19:36:14 -0400 |
| commit | 3887c54544bc2e5f8c2e7c12973887f9b2b88c40 (patch) | |
| tree | 28023c5157ac0504d3f3cefd65943304e140ab36 /etc | |
| parent | 49197e6e3d30a4da91d5f18041dd125ac327592a (diff) | |
| download | emacs-3887c54544bc2e5f8c2e7c12973887f9b2b88c40.tar.gz emacs-3887c54544bc2e5f8c2e7c12973887f9b2b88c40.zip | |
Throw a `search-failed' derived error in Info search
The original fix for Bug#6106 switched from signalling `search-failed'
to `user-error'. However, this breaks incremental searching over
multiple nodes because the isearch code doesn't expect a `user-error'.
* src/search.c (syms_of_search): New error, `user-search-failed',
with `user-error' and `search-failed' as parents.
* doc/lispref/errors.texi (Standard Errors): Document it.
* etc/NEWS: Announce it.
* lisp/info.el (Info-search): Use it instead of `user-error' so that
isearch will handle failed searches correctly.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -1058,6 +1058,10 @@ its window gets deleted by 'delete-other-windows'. | |||
| 1058 | *** New command 'window-swap-states' swaps the states of two live | 1058 | *** New command 'window-swap-states' swaps the states of two live |
| 1059 | windows. | 1059 | windows. |
| 1060 | 1060 | ||
| 1061 | +++ | ||
| 1062 | *** New error type 'user-search-failed' like 'search-failed' but | ||
| 1063 | avoids debugger like 'user-error'. | ||
| 1064 | |||
| 1061 | 1065 | ||
| 1062 | * Changes in Emacs 26.1 on Non-Free Operating Systems | 1066 | * Changes in Emacs 26.1 on Non-Free Operating Systems |
| 1063 | 1067 | ||