mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
Avoid errors in Info-search-case-sensitively in DIR buffers
* lisp/info.el (Info-search): Don't run the "try other subfiles" code if there are no subfiles. This happens, for example, in DIR files. (Bug#70058)
This commit is contained in:
parent
fbf6830299
commit
946d4aad1d
@ -2056,7 +2056,7 @@ If DIRECTION is `backward', search in the reverse direction."
|
||||
(re-search-forward regexp nil t))
|
||||
(signal 'user-search-failed (list regexp))))))
|
||||
|
||||
(if (and bound (not found))
|
||||
(if (and (or bound (not Info-current-subfile)) (not found))
|
||||
(signal 'user-search-failed (list regexp)))
|
||||
|
||||
(unless (or found bound)
|
||||
|
Loading…
Reference in New Issue
Block a user