aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorNoam Postavsky2017-04-01 09:34:04 -0400
committerNoam Postavsky2017-04-03 19:36:14 -0400
commit3887c54544bc2e5f8c2e7c12973887f9b2b88c40 (patch)
tree28023c5157ac0504d3f3cefd65943304e140ab36 /etc
parent49197e6e3d30a4da91d5f18041dd125ac327592a (diff)
downloademacs-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/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index bfd7d2bd32a..fc076569862 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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
1059windows. 1059windows.
1060 1060
1061+++
1062*** New error type 'user-search-failed' like 'search-failed' but
1063avoids 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