diff options
author | Noam Postavsky <npostavs@gmail.com> | 2017-04-01 09:34:04 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-04-03 19:36:14 -0400 |
commit | 3887c54544bc2e5f8c2e7c12973887f9b2b88c40 (patch) | |
tree | 28023c5157ac0504d3f3cefd65943304e140ab36 /test/lisp/emacs-lisp/cl-print-tests.el | |
parent | 49197e6e3d30a4da91d5f18041dd125ac327592a (diff) | |
download | emacs-3887c54544bc2e5f8c2e7c12973887f9b2b88c40.tar.gz emacs-3887c54544bc2e5f8c2e7c12973887f9b2b88c40.tar.bz2 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 'test/lisp/emacs-lisp/cl-print-tests.el')
0 files changed, 0 insertions, 0 deletions